Request document erasure and read its outcome
Returns the current erasure state after authorization. Repeat DELETE to check progress. A legal hold keeps the request waiting. Completion is returned only after the file, Normalization, Patient Health Atlas and Hypothesis Engine owners acknowledge erasure, including current and historical derived evidence, affected snapshots and stored evaluations. Durable owner fences prevent delayed processing from restoring the document. Unrelated patient records remain available. Completion acknowledges live owner erasure; Audit and backup retention follow their separate policies.
Path Parameters
- Type: stringdocument
Id required
Responses
- application/json
- 204
Erasure completed by the file and derived-evidence owners
- application/problem+json
- application/problem+json
- application/problem+json
- application/problem+json
- application/problem+json
- application/problem+json
Request Example for delete/v1/documents/{documentId}
curl 'https://api.dev.eno.health/v1/documents/{documentId}' \
--request DELETE \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"documentId": "string",
"erasureStatus": "pending"
}