Keys

Revoke one of the caller account's API keys.

Revoke one of the caller account's API keys by id. Authenticate with one of the account's keys as Authorization: Bearer <token> (you may revoke the key you authenticate with). A revoked key immediately drops to the anonymous rate limit. Idempotent. A key that doesn't exist or belongs to another account returns 404 — the endpoint can't be used to probe which key ids exist.

delete/api/v1/keys/{id}

Request

  • Base URL: https://agentdisco.io
  • URL: https://agentdisco.io/api/v1/keys/{id}
  • Auth: none declared

Path parameters

idstring required

Response

Key revoked (or already was).

idstring uuid
tokenPrefixstring
revokedboolean
alreadyRevokedboolean

Changes

No recorded changes to this operation across all 1 revision of this API.