Skip to main content
 print this page

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

Page of roles. Check next_available to decide whether to request a further page.

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers