POST /v1/account/service-keys
Creates a service key for the authenticated account with the supplied name and optional expiresAt. Returns key metadata and a one-time credential; store the credential securely because it cannot be retrieved through the listing endpoint. These credentials act as the account and must not be distributed as project-scoped keys. Supply the required Idempotency-Key header.
- TypeScript
- Python
- Rust
TypeScript
Parameters
string
required
Identifies one logical mutation across retries.
Body
string (date-time)
string
required
Returns
201 The created Account Service Key and its one-time credential. CreateAccountServiceKeyResponse
string
required
AccountServiceKey
required