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

id
string
required

The API key's ID, starting with KEY.

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 to the key.

Available options:
allow,
deny

Response

The new scope statement.

data
object
required