Skip to main content

Data Subject Erasure

Find where a data subject appears, confirm the scope per document, approve the request and execute it, with exemptions for held or retained documents listed on the certificate.

An erasure request runs in separate steps: create it (finds where the subject appears), confirm the scope per document (redact, destroy or exempt), approve it, then execute it with confirm: "ERASE". Approval freezes the scope.

Documents under a legal hold or unexpired retention are not erased; the execution certificate lists each one with its reason. Every read needs the data permission because a request lists where a person's data was found.

GET/v1/records/erasure-requests

cURL

curl -X GET https://api.talonic.com/v1/records/erasure-requests \
  -H "Authorization: Bearer $TALONIC_API_KEY"
POST/v1/records/erasure-requests

cURL

curl -X POST https://api.talonic.com/v1/records/erasure-requests \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"subject_label": "\u2026", "subject_terms": []}'
GET/v1/records/erasure-requests/{id}

cURL

curl -X GET https://api.talonic.com/v1/records/erasure-requests/$ID \
  -H "Authorization: Bearer $TALONIC_API_KEY"
PATCH/v1/records/erasure-requests/{id}

cURL

curl -X PATCH https://api.talonic.com/v1/records/erasure-requests/$ID \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "X-Step-Up-Code: 123456" \
  -H "Content-Type: application/json" \
  -d '{}'
POST/v1/records/erasure-requests/{id}/execute

cURL

curl -X POST https://api.talonic.com/v1/records/erasure-requests/$ID/execute \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "X-Step-Up-Code: 123456" \
  -H "Content-Type: application/json" \
  -d '{"confirm": "ERASE"}'
Errors: 401 missing or invalid credential; 403 with a reason (insufficient_scope, insufficient_role, person_inactive, not_member, no_person, workspace_read_only, or STEP_UP_REQUIRED); 404 unknown id in this workspace; 429 rate limited (see Retry-After).