Allways Access / Developersv1Get your API key
Endpoints

DELETE/v1/account/api-key

Revoke the key that sends this request.

Request

DELETE /v1/account/api-key. Needs x-api-key. No parameters.

Requestcurl
curl -X DELETE "$API/v1/account/api-key" -H "x-api-key: $KEY"

Response

204 No Content. The key stops working at once; the next call with it answers 401 unauthorized.

Errors

HTTPCodeExtra fieldsWhen
401unauthorized—Missing or invalid x-api-key, including a key already revoked
403geo_blocked—Request from a blocked region
429rate_limitedretryAfterOver the limit; see Rate limits

Notes

  • A key can only revoke itself. Minting and rotating need a session, so a leaked key cannot lock the owner out. See Authentication.
  • To get a new key, sign in again and call POST /account/api-key, or press Generate key at API access.