Skip To Content
ArcGIS Developer
Dashboard

Alter

  • URL: https://<version-url>/alter(POST only)
  • Version Introduced:10.6

Description

The alter operation allows you to change the geodatabase version's name, description, and access permissions.

Request Parameters

ParameterDetails
f

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

Values: html | json

ownerName

Description: Optional parameter specifying the new owner name.

Example: ownerName = jwatson

versionName

Description: Optional parameter specifying the new version name.

Example: versionName = newname

description

Description: Optional parameter specifying the new description of the version.

Example: description = Modified version description details

accessPermission

Description: Optional parameter to specify the new access permissions of the altered version.

Values: private | public | protected

Example: accessPermission = public

JSON Response Syntax

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

Example usage

Modify the accessPermission to public for a named version using the alter operation.

Request URL and parameters:

https://myserver.esri.com/server/rest/services/LandUse/VersionManagementServer/versions/<versionGuid>/alter

accessPermission=public

JSON response:

{
 "success": true
}