Create a role

This operation creates a custom role, which is a combination of grantable roles. The role that you create becomes available only for your current contract type. To learn more, see Identity and Access Management concepts.

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

Represents a request for creating a role with granted roles.

grantedRoles
array of objects
required
length ≥ 0

Granted roles for the account.

grantedRoles*
string
required
length between 1 and 250

Descriptive label for the role to convey its use.

string
required
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