Data deletion requests from wallet users
An EU Digital Identity Wallet lets its user ask any relying party they shared data with to delete it. The wallet opens the data deletion web form named in your registration certificate. Nexiel hosts that form for you: the user confirms who they are with their wallet, and you receive the request with the identity details you need to find their records. You then act on it and record the outcome. The form and the wallet step are built to the data deletion requirements of the EU Digital Identity Wallet Architecture and Reference Framework. Use in production requires your production relying-party identity, with a registered intended use that covers the user’s name and date of birth, and an evidence key.
1. Register the form as your data deletion contact
Your form addresses are returned by GET /v1/verify/data-deletion-requests as formUrls: https://compliance.nexiel.io/v1/verify/erasure/{organizationId}, plus https://<your custom domain>/v1/verify/erasure for each active custom domain. Give one of them as the data deletion web form when you register as a relying party, so it appears in your registration certificate and in the user's wallet.
The form needs an evidence pack key registered for your organization, because the requester's identity is handed to you encrypted to that key. Without one, the form tells the user to contact you directly, using your help link if you set one in your branding.
2. What the user does
- The form, in your branding, explains that you will receive the request with their name and date of birth.
- They confirm with their wallet, by scanning a QR code or opening the wallet on the same device. The wallet asks them to share only their given name, family name and date of birth.
- They are shown a reference code to quote to you, and the page confirms once the request has reached you. A request that is not confirmed within 15 minutes lapses and reaches nobody.
3. Receive the request
Each confirmed request is announced by a webhook:
{
"id": "d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f5a",
"type": "verify.data_deletion_request.received",
"apiVersion": "2026-11-19",
"livemode": true,
"createdAt": "2026-10-23T10:12:00.000Z",
"data": {
"requestId": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
"referenceCode": "K7QM-2XRP-9DNA",
"authenticatedAt": "2026-10-23T10:12:00.000Z",
"identityAvailable": true
}
}Read the request. Reading never hands over the requester's identity; evidencePackStatus says when it can be claimed:
curl https://compliance.nexiel.io/v1/verify/data-deletion-requests/2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f \
-H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN"{
"id": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
"referenceCode": "K7QM-2XRP-9DNA",
"environment": "production",
"status": "received",
"createdAt": "2026-10-23T10:11:04.000Z",
"authenticatedAt": "2026-10-23T10:12:00.000Z",
"resolution": null,
"resolvedAt": null,
"evidencePackStatus": "available",
"evidencePackHash": "9c1f4e7a2b8d3f6c0e5a9b2d7f4c1e8a3b6d9f2c5e8a1b4d7f0c3e6a9b2d5f8c"
}Claim the identity, once, with an Idempotency-Key:
curl -X POST https://compliance.nexiel.io/v1/verify/data-deletion-requests/2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f/evidence-pack/claim \
-H "Authorization: Bearer $NEXIEL_VERIFY_API_KEY" \
-H "Idempotency-Key: claim-2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f"Decrypt evidencePackCiphertext from the claim response with your private evidence pack key, exactly as described in setting up evidence pack encryption. Inside are the given name, family name and date of birth the wallet disclosed and the issuer signature validation result. It is handed over once; a retry with the same Idempotency-Key within an hour returns it again. Nexiel deletes it at the next purge after that hour, or after seven days if it is never claimed, keeps only evidencePackHash and none of the personal data. Store what you need on your own systems.
If a request is still waiting for your outcome and its identity has not been downloaded a day before it is deleted, Nexiel emails your organization's contact address once, with the request id, its reference code, whether it was made in test or live mode and the time of deletion, so you can still download it.
GET /v1/verify/data-deletion-requests lists confirmed requests, newest first, in data with cursor pagination (requests is a deprecated copy). An intermediary with data_deletion_requests:read sees a client's list and status only, never the requester's identity.
4. Record the outcome
curl -X POST https://compliance.nexiel.io/v1/verify/data-deletion-requests/2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f/resolve \
-H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: resolve-K7QM-2XRP-9DNA" \
-d '{ "resolution": "completed" }'completed: you erased the data.no_data_held: you held nothing about this person.legal_retention: you must keep the data under a legal retention duty.identity_not_matched: you could not match the requester to your records.
A request is resolved once, and the outcome is recorded in your audit log. Telling the requester the outcome remains your responsibility as the controller of the data.
In the SDKs
const { formUrls, requests } = await verify.dataDeletionRequests.list();
const request = await verify.dataDeletionRequests.get(requestId);
// decrypt request.evidencePack with your evidence pack key, act on it, then:
await verify.dataDeletionRequests.resolve(requestId, 'completed', { idempotencyKey: `resolve-${requestId}` });listing = verify.data_deletion_requests.list()
request = verify.data_deletion_requests.get(request_id)
verify.data_deletion_requests.resolve(request_id, "completed", idempotency_key=f"resolve-{request_id}")