Update Role

Refer to a role by its ID and change relevant fields.

The request uses the roleID in the header (see the example) and is otherwise identical to the Create role request.

ℹ️

How to specify the accounts

Use AWS terminololgy in the account fields: accountId, linkedAccountIds
accountId represents: AWS - Payer Account, Azure - Billing Account, GCP - Billing Account
linkedAccountIds: AWS - Linked Accounts, Azure - subscriptions, GCP - projects

Each Payar or billing account, and its related accounts are enclosed in curly braces. See the example on the right.

The linkedAccountIds field may contain an array of linked acccounts, or the string "all".

Path Params
string
required
Body Params
string
required

The role's name

string
required

The role's type, Values: EDITOR / VIEWER

accounts
array of strings
required

Payer and linked accounts accessible for the role

accounts*
Headers
string
required
string
required
Response

Language
LoadingLoading…
Response
Choose an example:
application/json