Get a collection of roles.

This operation returns a list of all roles or all roles in the authorised organisation. An admin role with read role permission is required, or an organisational role with role read permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Only return roles with this id or partial match using wildcards (*, ?).

  • matches zero or more characters.
  • ? matches exactly one character.

For example, bo* will match any word starting with bo, such as bo, bom, body, and so on. On the other hand, bo? will only match three-letter words starting with bo, such as bo, bom, and so on.

string

Filter roles by their type.
If provided, must be one of '.AdministrationRole', '.OrganisationRole' or '.GroupRole'.

string

Filter roles by the permission(s) they grant.
Multiple permissions may be specified as a comma-separated list.

string

Filter roles by their associated organisations.
Not valid if 'type' specifies the .AdministrationRole type.
Multiple organisation IDs may be specified as a comma-separated list.

string

Filter roles by their associated groups.
Only valid if 'type' specifies the .GroupRole type.
Multiple group IDs may be specified as a comma-separated list.

number

Maximum number of roles to return

number

Skip this many results.

boolean

Return full details of roles

boolean

Return full details of related objects

Responses

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