Retrieve administrator permissions

GET/administrators/{administrator_id}/permissions

Returns the administrator's role, the full set of granular permissions with the state of each one, and the IDs of the products the administrator can access.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Path Parameters

administrator_id*string

Public ID of the administrator, prefixed with adm_.

Header Parameters

X-Client-Request-Id?string

Optional client-generated identifier of the request, up to 64 characters from [A-Za-z0-9._-]. Echoed back in the response and recorded in the request log; it never replaces the server-generated X-Request-Id.

Lengthlength <= 64

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/administrators/string/permissions"
{  "data": {    "object": "administrator_permissions",    "permissions": {},    "product_ids": [      "string"    ],    "revision": "string",    "role": "root"  }}