List roles
GET/roles
Returns a paginated list of roles. A Super Admin sees every role on the platform; any other caller sees only the roles they are attached to.
Pagination: read next_available in the response. While it is "yes", request the next page by advancing offset by limit. When it is "no" this was the last page and the client must stop. total_count is the number of roles matching the filter and count is the size of the current page.
Request
Responses
- 200
- 400
- 500
Page of roles. Check next_available to decide whether to request a further page.
Response Headers
Input validation or authorization failure. Body is {"Message": " -
Response Headers
Backend failure. Also returned for a non-numeric offset or limit, and for a sortby naming an attribute that is missing from some role or is not a string. Body is {"Message": " -