Permissions

URL:
https://<root>/services/permissions
Methods:
GET
Operations:
Add, Clean, Has child Permissions Conflict
Required Capability:
Access allowed with any authorized privilege
Version Introduced:
10.1

Description

The permissions resource models the permissions on the given folder or service. Permissions are access privileges that are assigned to roles (principals) by the service administrator to provide a role-based access control.

ArcGIS Server implements the Continuous Inheritance Model, under which a resource (such as a folder or service) inherits the permissions of its parent resource during creation, but these permissions can be changed at a later time.

Permissions are assigned to roles using the Add Permission operation. To purge all the permissions that have been assigned to a role, you can use the Clean Permissions operation. This operation is useful if the role is to be deleted from the role store.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for the permissions resource:

1
https://machine.domain.com/webadaptor/admin/services/Maps/Test.MapServer/permissions?f=pjson

JSON Response syntax

1
2
3
{
  "permissions": [<permission1>, <permission2>]
}

JSON Response example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  "permissions": [
    {
      "principal": "Analysts",
      "permission": {
        "isAllowed": true
        "constraint": ""
      },
      "childURL": "",
      "operation": ""
    },
    {
      "principal": "Technicians",
      "permission": {
        "isAllowed": false
        "constraint": ""
      },
      "childURL": "",
      "operation": ""
    }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close