- URL:https://<roles-url>/remove(POST only)
- Required Capability:Default administrator role | All authorized privileges
- Version Introduced:10.1
Description
This operation removes an existing role from the role store. This is available only when the role store is a read-write store such as the default ArcGIS Server store.
Request parameters
Parameter | Description |
---|---|
rolename | The name of the role to remove. Example
|
f | The response format. The default response format is html. Values: html | json | pjson |
Example usage
Below is a sample POST request for remove:
POST /webadaptor/admin/security/roles/remove HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
rolename=editors&f=json
JSON Response example
{"status": "success"}