Skip to main content
DELETE
http://localhost:3000
/
auth
/
keys
/
{id}
curl -X DELETE http://localhost:3000/auth/keys/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
  -H "Authorization: Bearer $ISOL8_MASTER_KEY"
{
  "ok": true,
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
Revokes an API key so it can no longer authenticate requests. Revocation is immediate and irreversible (revoked keys are eventually cleaned up by the background cleanup job). Requires the master key. DB-backed auth must be enabled.
id
string
required
UUID of the API key to revoke.
ok
boolean
true when the key was successfully revoked.
id
string
The ID of the revoked key.
curl -X DELETE http://localhost:3000/auth/keys/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
  -H "Authorization: Bearer $ISOL8_MASTER_KEY"
{
  "ok": true,
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
Returns 404 if no key with the given ID exists.