Role

Description

This resource lists properties of a custom role.

Viewer is a pre-built custom role, thus it does not allow to be updated or deleted through the Update Role, Set Role Privileges, or Delete Role operations.

Request Parameters

Parameter

Details

[Common Parameters]

For a complete listing, see common parameters.

Response Properties

Property

Details

id

The ID of the role.

name

The name of the role.

description

The description of the role.

created

The date the role was created. Shown in UNIX time in milliseconds.

modified

The date the role was last modified. Shown in UNIX time in milliseconds.

Example Usage

URL for Role

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

JSON Response Syntax

{
  "id": "<role id>",
  "name": "<role name>",
  "description": "<role description>",
  "created": date created shown in UNIX time,
  "modified": date last modified shown in UNIX time
}

JSON Response Example

{
  "id": "Pi5ZcW4sddhtho45",
  "name": "Viewer",
  "description": "custom viewer",
  "created": 1472061811000,
  "modified": 1472061811000
}

9/13/2017