Delete Role

Description

The Delete Role operation (POST only) allows default organization administrators to delete a custom role.

Request Parameters

ParameterDetails
[Common Parameters]

For a complete listing, see common parameters.

Response Properties

PropertyDetails
success

Indicates if the operation was successful.

roleId

The ID of the custom role that got deleted.

Example Usage

URL for Delete Role

http://www.arcgis.com/sharing/rest/portals/LkFyxb9zDq7vAxxx/roles/2a5MU7lBcBWutf4S/delete

JSON Response Syntax

{
  "success": true | false,
  "roleId": "<roleId>"
}

JSON Response Example

{
  "success": true,
  "roleId": "2a5MU7lBcBWutf4S"
}