Skip To Content
ArcGIS Developer
Dashboard

Delete

Description

Delete the specified named version. The deletion will fail if the version is in use or the connected user is not the owner.

License:
Organization members must be assigned a license for the ArcGIS Advanced Editing user type extension to use this operation.

Request parameters

ParameterDetails
f

Description: Optional parameter to specify the output format of the response. The default response format is html.

Values: html | json

versionName

Description: The name of the version to be deleted.

Syntax: versionName = <versionName>

To delete a version owned by another user as the version administrator, the versionName must be qualified with the owner. For example, versionName=portaluser.carolina.

sessionId

Description: The client-generated session ID (GUID). The session ID is often passed as a logical lock token for the version being edited.

Syntax: sessionId = {3F2504E0-4F89-41D3-9A0C-0305E82C3301}

JSON Response syntax

{
  "success" : <true | false>,
  "error" : { // only if success is false
    "extendedCode" : <HRESULT>,
    "message" : <error message>,
    "details" : [ <detail> ]
  }
}

Example usage

Delete a named version using the delete operation.

Request URL and parameters:

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

f=json
versionName=portaluser.carolina

JSON response:

{
 "success": true
}