- URL: https://<version-url>/alter(POST only)
 - Version Introduced:10.6
 
Description
The alter operation changes the geodatabase version's name, description, and access permissions.
License:
Organization members must be assigned a license for the ArcGIS Advanced Editing user type extension to use this operation.Request parameters
| Parameter | Details | 
|---|---|
| f | Description: The response format. The default response format is html. Values: html | json  | 
| ownerName | Description: The new owner's name. This parameter is optional. Example: ownerName = jwatson  | 
| versionName | Description: The new version name. This parameter is optional. Example: versionName = newname  | 
| description | Description: The new description of the version. This parameter is optional. Example: description = Modified version description details  | 
| accessPermission | Description: Specifies the new access permission for the altered version. This parameter is optional. 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
Set the accessPermission parameter 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 JSON response:
accessPermission=public{
 "success": true
}