Geovisualization Developer's Guide


The permission request body is a JSON object sent in the body of a Geovisualization REST API request to set permissions on a dataset, query or layer resource.

Table 1. Permission Request Elements
Element Data Type Mandatory Description
action String Yes

An action to perform with the roles and user IDs. Options are grant to give permissions, revoke to remove and set to replace all existing permissions.

role String Yes A role as defined in Permissions.
users Array Yes An array of user IDs.

The code example below shows the data structure sent in a request to set permissions.

  "action": "grant",
  "role": "reader",
  "users": [