Skip to main content
PUT
Replace an IAM role statement

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

role_id
string<uuid>
required

The role's ID.

statement_id
string<uuid>
required

The statement's ID.

Body

application/json
effect
enum<string>
required

Whether the statement allows or denies its actions.

Available options:
allow,
deny
actions
string[]
required

Exact action IDs from GET /v2/iam/actions, wildcards such as number_order.*, which covers every action ID that starts with number_order., or *, which covers every action. Every entry must match the catalog. Duplicates are removed.

Minimum array length: 1

Response

The replaced statement.

data
object
required