These docs are for v2. Click to read the latest docs for v3.

List roles

List roles for the current account and contract type. 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. Don't confuse this with the action parameter, which applies to the Set two-factor authentication operation.

integer

A unique identifier for each group.

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 your API client's contract type. By default, this is false.

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
Authentication
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json