Skip To Content

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.

Licencia:
Los miembros de su organización deben tener una licencia asignada para la extensión de tipo de usuario de ArcGIS Advanced Editing para utilizar esta operación.

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
}