| FRAMES | NO FRAMES | Description | Parameters | Example |
| URL: | http://server:port/arcgis/admin/security/roles/update |
|---|---|
| HTTP Method: | POST |
| Parent Resource: | Users |
| Required Privileges: | Administrator |
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.
| 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>",
}
http://server:port/arcgis/admin/security/roles/update username=editors description=Group of users that can edit maps.