Resources

Find allowed resources

get

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

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
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
400

Invalid input data

application/json
get
/permissions/resources
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"
    }
  ]
}