Revoke an API key

Permanently revokes the key with the given id. Authenticated by the session cookie or a pk_ bearer key.

delete/api/keys/{id}

Request

  • Base URL: https://api.peelaway.io
  • URL: https://api.peelaway.io/api/keys/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie better-auth.session_token

Path parameters

idstring required

Response

Revoked

okboolean required

Changes

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