Skip to main content

Delete Enrollee Data (Right to Erasure)

Endpoint​

DELETE https://api.verifik.co/v2/app-registrations/{id}/data

Executes a Right to Erasure (GDPR / Ley 1581) request for a single enrollment registration. All associated document images, facial selfies, and personal data (names, dates, document numbers, raw and encrypted OCR) are permanently purged across DigitalOcean Spaces and MongoDB.

A minimal billing and status tombstone is retained for reporting.

Headers​

NameValue
Content-Typeapplication/json
AuthorizationBearer <token>

Path Parameters​

NameTypeRequiredDescription
idstringYesThe unique identifier of the app registration record

Request​

const fetch = require("node-fetch");

async function eraseEnrollee() {
const regId = "6add0c680b29eb28766c82ce";
const res = await fetch(`https://api.verifik.co/v2/app-registrations/${regId}/data`, {
method: "DELETE",
headers: {
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
"Content-Type": "application/json",
},
});
console.log(await res.json());
}

eraseEnrollee();

Response​

{
"data": {
"_id": "6add0c680b29eb28766c82ce",
"status": "COMPLETED",
"client": "6266193db77ccc8111730c90",
"project": "6266193db77ccc8111730c91",
"retention": {
"purgedAt": "2026-10-26T22:35:00.000Z",
"purgeReason": "right_to_erasure"
}
}
}