Update Role
- URL:http://server:port/arcgis/admin/security/roles/update(POST only)
- Required Capability:Administrator
- Version Introduced:10.1
Description
Updates a role in the role store with new information. This operation is available only when the role store is a read-write store such as the default ArcGIS Server store.
Parameters
|
Parameter |
Description |
|---|---|
| rolename |
The name of the role. The name must be unique in the role store. |
| description | An optional field to add comments or a description for the role. |
| f | The response format. The default response format is html. Values: html | json |
The above parameters can also be provided in JSON format and submitted as a value to the role parameter:
role={
"rolename": "<rolename>",
"description": "<description>"
}
Example
http://server:port/arcgis/admin/security/roles/update
rolename=editors
description=Group of users that can edit maps.