Skip to main content
PATCH
Revoke a tenant API key

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Path Parameters

id
string
required

UUIDv7 of the resource.

Body

application/json

PATCH /v1/api-keys/{id} — the only mutation, and only downward.

active
boolean
required

Must be false. A revoked key is never brought back.

Response

OK

What revoking answers with.

active
boolean
required

Always false — the field is present so a client can write the reply straight into whatever it was holding.

id
string
required

The key's identifier.

revoked_at
integer<int64>
required

When the row records it stopped working.