authentication

Revoke an API key

Revoke an API key by ID.

Only the key owner can revoke their own keys. Sets is_active=False and records the revocation timestamp.

delete/auth/keys/{key_id}

Request

  • Base URL: https://api.whoisgeni.us (the document declares no server; this is the origin it was published from)
  • URL: https://api.whoisgeni.us/auth/keys/{key_id}
  • Auth: HTTP bearer

Path parameters

key_idstring required

Response

Revocation confirmation

dataobject nullable
metaobject nullable

Example response

{
  "error": {
    "code": "JOB_NOT_FOUND",
    "message": "No job found with the given ID."
  }
}

Changes

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