Retrieve an erasure
Reads an erasure and its progress.
Guide: People and identity
AuthorizationBearer <token>
A project secret key: vh_sk_... for production, vh_sk_test_... for test. Keep it on your servers.
In: header
Path parameters
projectId*string
The project's id, proj_.... A secret key works only in the project it belongs to.
erasureId*string
The erasure's id, person_erasure_....
Examples
curl -X GET "https://api.voidhash.com/api/v1/projects/proj_tz4a98xxat96iws9zmbrgj3a/erasures/person_erasure_t5y8u1i4o7p0a3s6d9f2g5h8" \ -H "Authorization: Bearer vh_sk_..."{ "id": "person_erasure_t5y8u1i4o7p0a3s6d9f2g5h8", "projectId": "proj_tz4a98xxat96iws9zmbrgj3a", "status": "completed", "personId": "person_h7d2k9m4x1c6v8b3n5q0w2e7", "requestedAt": "2026-05-02T08:14:00.000Z", "completedAt": "2026-05-02T08:14:09.000Z"}{ "error": { "type": "invalid_request", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "unauthenticated", "code": "invalid_api_key", "message": "This secret key is not valid." }}{ "error": { "type": "permission_denied", "code": "permission_denied", "message": "Insufficient permissions." }}{ "error": { "type": "not_found", "code": "erasure_not_found", "message": "This project has no erasure person_erasure_t5y8u1i4o7p0a3s6d9f2g5h8.", "param": "erasureId" }}{ "error": { "type": "internal", "code": "internal_error", "message": "Something went wrong on our side. Try again, and contact support with the Request-Id header if it keeps failing." }}Response body
application/json
application/json
application/json
application/json
application/json
application/json
Errors
| Status | type | code | When |
|---|---|---|---|
| 404 | not_found | erasure_not_found | When the project has no such erasure. |
It can also fail with the errors every operation shares, such as unauthenticated; see Errors.
More in Persons
- List persons
GET - Create a person
POST - Retrieve a person
GET - Update a person
PATCH - List a person's entitlements
GET - List a person's purchases
GET - List a person's subscriptions
GET - Erase a person
POST
Something wrong or missing on this page? Tell us by email or on Discord.