Skip to main content
PATCH
Update a API key

Authorizations

Authorization
string
header
required

A Barndoor API key, sent as Authorization: Bearer <key>. Keys are prefixed bdai_ and are opaque — do not attempt to decode one. Interchangeable with an OAuth 2.0 access token.

Path Parameters

id
string<uuid>
required

Identifier, a UUID

Body

application/json
disabled
boolean
required

Response

The requested record

PATCH /admin/api-keys/{id} — echoes the disabled state now in effect.

disabled
boolean
required

The key's disabled flag after the update, echoing the request.