Delete a verification
Removes a finished verification, or a session that was never submitted, from every surface your organisation can read. Nothing is refunded. A deleted record cannot be restored through the API; contact support if one was deleted by mistake.
Error codes
Requires a secret (sk_) key. A publishable key receives 403 secret_key_required.
Authentication
AuthorizationBearer
Send the API key as a Bearer token. Each operation states whether a publishable key is enough or a secret key is required.
Path parameters
id
The verification identifier. A session identifier works too, because a verification keeps the identifier of its session.
Request
This endpoint expects an object.
reason
Why the record is being deleted. Kept in your audit log and never sent to webhooks.
Response
The record was deleted.
verificationId
The identifier of the deleted record.
kind
verification for a submitted record, attempt for a session that was never submitted.
Allowed values:
deleted
Always true.
deletedAt
When the record was deleted.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error