Skip to main content
POST
Create a management key
This endpoint requires an owner or admin identity and management_keys:write.
Choose a capability template or provide an explicit scope list. The raw key is returned only in the creation response; store it immediately in server-side secret storage.

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json

Provide exactly one of template or scopes.

name
string
required
Minimum string length: 1
template
enum<string>
required
Available options:
read-only,
read-write,
full-control
scopes
expires_at
string<date-time> | null
paused
boolean

Response

Management key created

data
object
required
Last modified on August 30, 2026