Skip to main content
POST

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.

Body

application/json
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
effect
enum<string>
default:allow

Whether the statement allows or denies its actions.

Available options:
allow,
deny

Response

The new statement.

data
object
required