List roles

This operation lists roles for the current account and contract type or other accounts using the accountSwitchKey parameter. The account and contract type are determined by the access tokens in your API client.

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.

Response

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