Skip to main content

List all roles for a tenant

GET 

/roles

Returns every role belonging to the tenant identified by the required tenant-id header. Use this to populate role-selection UIs or to audit which roles exist before assigning one to a user. Requires the tenant-id header; the request returns 400 if the header is absent or blank. The response is a paginated envelope containing a data array of role objects, a totalCount, and links for navigation.

Request​

Responses​

Roles retrieved successfully