- URL:https://<portal-url>/roles/<roleId>/setPrivileges(POST only)
Description
The Set Role Privileges operation (POST only) allows default organization administrators to set privileges for a custom role.
Request Parameters
Parameter | Details |
---|---|
[Common Parameters] | For a complete listing, see common parameters. |
privileges | A JSON object that contains an array of strings with predefined permissions within each. See Privileges for all available role privileges. Example:
|
Response Properties
Property | Details |
---|---|
success | Indicates if the operation was successful. |
Example Usage
URL for Set Role Privileges
https://www.arcgis.com/sharing/rest/portals/LkFyxb9zDq7vAxxx/roles/edgebRxFLiLt15df/setPrivileges
JSON Response Syntax
{
"success": true | false
}
JSON Response Example
{
"success": true
}