List roles

This operation lists roles for the current account and contract type or other accounts using the accountSwitchKey parameter. The access tokens in your API client determine the account and contract type you can manage.

Query Params
boolean
Defaults to false

Includes information about actions such as edit or delete that you can take for the object, false by default.

integer

Filters roles for a specific group. To get this value, run the List groups operation.

boolean
Defaults to false

Returns users assigned to the roles, false by default.

boolean
Defaults to false

Returns all the roles for the current account, ignoring the contract type of your API client, false by default.

string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Choose an example:
application/json
application/problem+json