Management

Revoke an API key

Stamps revoked_at on the row. Subsequent verifies fail with 401.

Requires the keys:write scope.

DELETE
/v1/keys/{id}

Authorization

x-api-key<token>

Anthropic-style API key header.

In: header

Path Parameters

id*string

Surrogate id of the api_keys row.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://api.bitrouter.ai/v1/keys/string"
{}
{
  "error": null
}
{
  "error": null
}
{
  "error": null
}

How is this guide?