Allowed actions
Return actions allowed to the user on one or more resources.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
userIdstringOptionalDefault:
Id of the target user or me for the current user
meresourceTypestring · enumOptionalPossible values:
resourceIdstringOptional
Responses
200
Successful response
application/json
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
404
Not found
application/json
500
Internal server error
application/json
get
/permissions/allowed-actionsGET /rest/permissions/allowed-actions HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"userId": "text",
"allowedActions": [
"READ"
]
}