Revoke Api Key Endpoint

Revoke an API key. Cannot revoke the last key.

Uses authenticate_user so the ownership check compares real user ids — under bare authenticate() id was the api_keys row id, which 404'd the legitimate owner on every API-key-authed revoke.

delete/auth/api-keys/{key_id}

Request

  • Base URL: https://api.n0brains.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.n0brains.com/auth/api-keys/{key_id}
  • Auth: none declared

Path parameters

key_idinteger required

Response

Successful Response

unknown required

Changes

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