Search roles

GET
/roles
Find all roles that match the search criteria.

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired
x-monite-entity-idstringRequired
The ID of the entity that owns the requested resource.

Query parameters

order"asc" or "desc"Optional
Order by
Allowed values: ascdesc
limitintegerOptional
Max is 100
pagination_tokenstringOptional
A token, obtained from previous page. Prior over other filters
sort"updated_at" or "created_at"Optional
Allowed sort fields
Allowed values: updated_atcreated_at
id__instringOptional
namestringOptional
created_atdatetimeOptional
created_at__gtdatetimeOptional
created_at__ltdatetimeOptional
created_at__gtedatetimeOptional
created_at__ltedatetimeOptional

Response

This endpoint returns an object.
datalist of objects
array of records
next_pagination_tokenstringOptional

A token that can be sent in the pagination_token query parameter to get the next page of results, or null if there is no next page (i.e. you’ve reached the last page).

prev_pagination_tokenstringOptional

A token that can be sent in the pagination_token query parameter to get the previous page of results, or null if there is no previous page (i.e. you’ve reached the first page).

Errors