Purge Lock

URL:
https://<root>/<serviceName>/VersionManagementServer/purgeLock
Methods:
POST
Required Capability:
ArcGIS Advanced Editing user type extension license
Version Introduced:
10.7.1

Description

The purgeLock operation deletes all locks for the specified version.

The following user accounts can run the purgeLock operation:

  • Version owner
  • Service owner
  • Portal administrator

Request parameters

ParameterDetails

f

Specifies the output format of the response. The default response format is html.

Values: html | json | pjson

versionName (Required)

Specifies the qualified name of the version that is locked, for example, owner.version_name.

Syntax:versionName=<versionName>

Example: unadmin.test

JSON Response syntax

1
2
3
4
5
6
7
8
{
  "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 purgeLock operation:

Request URL and parameters:

https://myserver.esri.com/server/rest/services/LandUse/VersionManagementServer/purgeLock

1
2
f=json
versionName=unadmin.test

JSON response:

1
2
3
{
 "success": true
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close