Delete Role

Description

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

Request Parameters

Parameter

Details

[Common Parameters]

For a complete listing, see common parameters.

Response Properties

Property

Details

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"
}

3/3/2017