Menu
Your backend (X-Api-Key)
Delete session data
/v1/sessions/{id}/dataRemoves the session's personal data (images, NFC data, extracted fields, face template, IP) from the service at once, for an erasure request: no screen, API call, export or webhook returns it again. Scores, the decision and the step history (without IP) are kept. An encrypted backup copy is kept until our platform administrator approves its permanent deletion, at the latest 30 days after your request.
Authorization: X-Api-Key (your backend)
Allowed when the session is approved, declined, kyc_expired, expired, abandoned or in_review, and also in_progress right after a rejection (the user can then no longer retry). A session in review becomes expired once its data is removed. not_started, a step in progress and resubmitted return 409. If the backup copy cannot be made, nothing is removed and the call returns 503; retry later. When your retention period ends (default 5 years after the final status) the same deletion is scheduled for approval.
curl -X DELETE https://api.idotta.com/v1/sessions/{id}/data \
-H "X-Api-Key: idv_test_XXXX"// Response 200
{ "status": "erasure_scheduled", "session_id": "…" }