Skip to navigation

List roles

List roles for the organization resolved from Isometrik credentials (licenseKey/appSecret).

Headers

licenseKeystringRequired
appSecretstringRequired

Query parameters

searchstring or nullOptional

Search term to filter roles by name (case-insensitive)

pageintegerOptional>=1Defaults to 1
The page number for pagination
page_sizeintegerOptional1-100Defaults to 20
The number of items per page

Response

OK
messagestring
Response message describing the operation result
roleslist of objects
List of roles
total_countinteger

Total number of roles available (for pagination)

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error