Get a list of all roles
Requires the ROLE.VIEW permission.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
version
Headers
x-platform-id
Platform ID.
Query parameters
limit
The amount of records shown in the list
page
The page which is going to be shown
order_by
The parameter by which the response is ordered.
order_direction
The order direction by which the response is ordered.
name
The name of the role.
include_child_roles
Returned the child roles for this role, max depth of 2 is possible.
only_childless_roles
Return only roles that have no child roles of their own.
Response
OK
data
links
limit
page
total_number_of_pagesDeprecated
Errors
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error