an object with query parameters
Optionalfilter?: stringThe advanced filtering to use for the query. Refer to RFC 7644 for the syntax. All conditional statements within this query parameter are case insensitive.
Optionallimit?: numberThe number of roles to retrieve.
Optionalnext?: stringThe next page cursor.
Optionalprev?: stringThe previous page cursor.
Optionalsort?: stringOptional resource field name to sort on, eg. name. Can be prefixed with +/- to determine order, defaults to (+) ascending.
OptionaltotalResults?: booleanDetermines wether to return a count of the total records matched in the query. Defaults to false.
Optionaloptions: ApiCallOptions
Returns a list of roles using cursor-based pagination.