Resources
Return resources on which the user is allowed to perform the requested action.
Authorizations
Query parameters
userIdany ofOptionalDefault:
Id of the target user or me
for the current user
me
notOptional
stringOptional
resourceTypestring · enumOptionalPossible values:
actionstring · enumRequiredPossible values:
Allowed action on the resource
Responses
200
Successful response
application/json
default
Error 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"
}
]
}