- URL:
- https://<root>/<serviceName>/VersionManagementServer/delete
- Methods:
- POST
- Required Capability:
- ArcGIS Advanced Editing user type extension license
- Version Introduced:
- 10.6
Description
Delete the specified version. The deletion will fail if the version is in use or the connected user is not the owner.
Request parameters
| Parameter | Details | 
|---|---|
| 
 | Specifies the output format of the response. The default response format is  Values:  | 
| 
 | Specifies the name of the version to be deleted. Syntax:  | 
| 
 | Specifies the client-generated session ID (GUID). The session ID is often passed as a logical lock token for the version being edited. Syntax:  | 
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:
f=json
versionName=portaluser.carolinaJSON response:
{
 "success": true
}