Skip to main content
Call these endpoints from your backend with Authorization: Bearer hrtc_sk_…. The secret key limits each operation to your workspace.

Create an erasure

POST https://heretic.tech/v1/erasures Send exactly one selector: account_ref or challenge_id.
An account erasure removes the ceremonies and credentials associated with that exact account reference, through the request time. A challenge erasure removes that ceremony and its newly created anonymous credential. It does not revoke a named-account credential shared with other ceremonies.
The response is 202:
A selector with no matching records returns zero counts. Keep the erasure ID to check submission progress.

Read the receipt

GET https://heretic.tech/v1/erasures/{erasure_id}
The receipt has the same fields. physical_deletion changes from pending to submitted when the storage service accepts the deletion requests. Failed submissions are retried. submitted does not certify destruction of every physical copy or customer export.

Scope and retention

Ceremony history is available for seven days from creation. Passkey credentials remain until explicitly erased because later account-exclusion checks can use them. Erasure receipts are kept for one year, or longer while a deletion remains pending. These selectors include the selected ceremonies’ measurement records. They do not erase an original customer-page probe or your Heretic billing account. Erase probe history through the site’s data controls in the dashboard. Site erasure also removes its widget ceremonies and associated anonymous credentials; named-account credentials shared across your workspace remain.

Status codes