Delete an entity
Soft-deletes the entity. It leaves every read on this API and the dashboard, and its ongoing screening is paused with all history kept. Its verifications and the shared identity it was linked to are untouched. There is no restore endpoint, but registering the same externalUserId again brings the entity back.
Side effects: the entity.deleted webhook fires and the call is recorded in your audit log with the reason you gave. Nothing is refunded.
Error codes
A missing or unknown key returns 401 with a plain sentence in error rather than a code.
Requires a secret (sk_) key. A publishable key receives 403 secret_key_required.
Authentication
Send the API key as a Bearer token. Each operation states whether a publishable key is enough or a secret key is required. A scoped publishable key has Verification flow access, the fixed set flow.run, flow.config.read and verifications.status.read; a scoped secret key reaches what its scopes allow.