CorefinityCorefinityDocs
Open the Control PanelControl Panel
Team · 4 of 17

List your permissions

Answers the permissions your roles give you, as slugs. A custom role you create or update may give only these.

GET/api/permissions

Returns

200 Your permissions. The message carries your name.

Fields of the 200 answer
dataarray of stringsRequired

Permission slugs.

messagestringRequired
statusstringRequired

If it is refused

StatusReasonWhat to do
401noneSend a valid token as Authorization: Bearer <token>.
403scope_requiredUse a token with the scope named in scope.
429rate_limitedWait for the seconds in Retry-After.

Reasons are listed by name in Errors and refusals.

The same task elsewhere

curl https://manage.corefinity.com/api/permissions \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json"
{
  "data": [
    "viewUsers",
    "inviteUsers",
    "editUsers",
    "viewWebsites",
    "viewTickets"
  ],
  "message": "All permissions for Eleanor Finch was loaded.",
  "status": "success"
}
Try it
Held in this tab's memory only. Never stored or sent to us.

Use a token with only the read scope. How to make one

Was this helpful?
Open in ClaudeOpen in ChatGPT