Skip to main content
GET
List custom roles
πŸ”’ Admin only. Requires administrator privileges β€” the authenticated principal (API key, embed JWT, or any bearer token) must belong to a user with the admin role. Lists the tenant’s custom roles, newest first, cursor-paginated via first/after. Cube’s built-in roles are not included β€” they are not tenant data.

Authorizations

Authorization
string
header
required

Token authentication. Send Authorization: Bearer <YOUR_TOKEN>.

Query Parameters

after
string | null
first
integer | null
Required range: x >= 1

Response

200 - application/json
items
object[]
required
pageInfo
object
required