Return resources on which the user is allowed to perform the requested action.
Id of the target user or me
for the current user
me
Allowed action on the resource
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"
}
]
}