Admin

POST /v2/admin/api-keys/{id}/revoke

Changed on

Requires a support Admin's Privy access token as a Bearer token; API keys are not accepted. Each change posts to #humans-cybersec. Mints and escalations are refused when that alert cannot be sent; revocations and narrower grants are saved and answer alertSent: false.

Request

  • Base URL
    https://api.peer.xyz
  • URL
    https://api.peer.xyz/v2/admin/api-keys/{id}/revoke
  • Auth
    HTTP bearer

Path parameters

idinteger required

Response

API key revoked

successboolean required
messagestring required
statusCodenumber required
errorCodestring

Changes