Edit a role

This operation adds or removes a role's group role assignments, along with other data such as name and description. When you modify a role, those changes affect existing API clients. Review all API clients belonging to the user before modifying a role.

Path Params
integer
required

Unique identifier for each role. To get this value, run the List roles operation.

Query Params
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.

Body Params
grantedRoles
array of objects
length ≥ 0

Granted roles for the account.

grantedRoles
string
length between 1 and 250

Descriptive label for the role to convey its use.

string
length between 1 and 70

Descriptive label for the role.

Response

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