- URL:
- https://<root>/<serviceName>/VersionManagementServer/purgeLock
- Methods:
- POST
- Required Capability:
- ArcGIS Advanced Editing user type extension license
- Version Introduced:
- 10.7.1
Description
The purge operation deletes all locks for the specified version.
The following user accounts can run the purge operation:
- Version owner
- Service owner
- Portal administrator
Request parameters
| Parameter | Details | 
|---|---|
| 
 | Specifies the output format of the response. The default response format is  Values:  | 
| 
 | Specifies the qualified name of the version that is locked, for example, owner.version_name. Syntax: Example:  | 
JSON Response syntax
{
  "success" : <true | false>,
  "error" : { // only if success is false
    "extendedCode" : <HRESULT>,
    "message" : <error message>,
    "details" : [ <detail> ]
  }
}Example usage
Delete the locks for a specific version using the purge operation:
Request URL and parameters:
https:
f=json
versionName=unadmin.testJSON response:
{
 "success": true
}