create_access_key
Create a scoped, revocable access_key bound to a role. Requires an admin owner_key. The raw key (ak_... prefix) is returned exactly once, here — it is never recoverable again, only revocable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | ||
| expiry | No | RFC3339 expiry, e.g. "2026-12-31T00:00:00Z". | |
| role_ids | No | Roles to bind this key to (combination, bundle-26). Unset/empty grants no scopes (denies everything). | |
| owner_key | No | Owner key. Must belong to an admin member. Optional. If omitted, defaults to the owner_key resolved from the connection's `Authorization: Bearer <owner_key>` header. | |
| mailbox_label | No |