Get list of roles

Returns a list of roles. You need the View roles in organization permission to use the account_identifier parameter.

You need the "View roles in account" permission to use this endpoint.

Query Params
string

Filter roles by name.

permissions
array of strings

Filter only roles that have all of at least one set of permissions.

permissions
uuid

The identifier of the account whose roles you'd like to retrieve.

integer
≥ 1
Defaults to 1

The page of results returned within the response.

integer
≥ 1
Defaults to 50

The amount of results returned within the response.

sort
array of strings
Defaults to name

Sorting criteria in the format of: [-]property (- descending modifier).

  • Default sort order is ascending (without -).

  • Multiple sort criteria are supported.

sort
Response

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json