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

Add or remove role assignments. When you modify a role, those changes affect existing API clients. Review all API clients belonging to the user before modifying a role.

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.

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