Skip to main content
POST
Mints one of the API keys your systems sign requests with. API keys covers the form of a key and how to sign. The key routes exist at the Console alone. A tenant API key cannot mint, list or revoke anything. There is no idempotency key. A double submit mints two keys; both are listed, and either is revoked in one call.

Who may call

An administrator of the organization, as a person. The agent is refused on live and sandbox Tenancies alike.

Path parameters

string
required
The Tenancy acting. It comes from Read the tenancy; your organization must be bound to it.

Body

string
required
read or write. read covers reads; write covers everything.
string
required
How long the key lives: a duration such as 720h or 30m, or the word never. There is no default.

Response

Answers 201.
string
required
The key itself. This is the only time it exists outside your own storage: show it once and mint a replacement if it is lost.
object
required
The key’s record, as List the keys answers it.

Refusals

Every refusal carries the error shape. 429 and 503 answer as at the signing door.