Resources

Find allowed resources

get

Return resources on which the user is allowed to perform the requested action.

Authorizations
Query parameters
userIdstringOptional

Id of the target user or me for the current user

Default: me
resourceTypestring · enumOptionalPossible values:
actionstring · enumRequired

Allowed action on the resource

Possible values:
Responses
200
Successful response
application/json
get
GET /rest/permissions/resources?action=READ HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "userId": "text",
  "action": "text",
  "resources": [
    {
      "resourceType": "ACCOUNT",
      "resourceId": "text"
    }
  ]
}