Skip to main content
GET
Get Current User Permissions
Required permission: Basic access (basic) — any signed-in user or service account.
Returns the caller’s resolved permissions, with implied permissions already expanded. Use it to check what a token can do before calling an endpoint. is_manager is true when the caller is a Group Manager of at least one group, and managed_group_ids lists those groups. A Group Manager holds their management permissions only inside those groups.
This endpoint applies to Onyx v4.7 and later. It replaces GET /get-user-role, which was removed with the role model in v4.7. For older versions, see Get User Role.

Authorizations

Authorization
string
header
required

Authorization header with Bearer token

Response

Successful Response

permissions
string[]
required
is_manager
boolean
required
managed_group_ids
integer[]
required