api-keys

Revoke Key

Deactivate a key by its public prefix. Internal-plan callers only.

Used by the admin dashboard to revoke a customer key without ever handling the raw key value (which is bcrypt-hashed at rest and not recoverable after creation).

post/api/keys/revoke

Request

  • Base URL: https://api.halalterminal.com
  • URL: https://api.halalterminal.com/api/keys/revoke
  • Auth: API key in header X-API-Key

Request body

key_prefixstring required

Public 10-char prefix (e.g. ht_abc12345)

Response

Revoked status

unknown required

Changes

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