Delete applicant data

AI Tools

You can delete all information about the applicants or applicant pools at any time using our API endpoints. Integrators can use our sdk request builders to make the calls to our API endpoints. On successful requests a 204 response code will be sent.

const { RequestBuilder, Payload } = require("yoti"); const request = new RequestBuilder() .withBaseUrl("https://api.yoti.com/idverify/v1") .withPemFilePath("<YOTI_KEY_FILE_PATH>") // file path to PEM file .withEndpoint("/applicants/<applicant_id>") .withMethod("DELETE") .withQueryParam("sdkId", "<YOTI_CLIENT_SDK_ID>") .build(); // get Yoti response const response = await request.execute();

Delete applicant

Call the endpoint below to delete the image of the face from an applicant:

DELETE https://api.yoti.com/idverify/v1/applicants/<applicant_id>

Delete face

Call the endpoint below to delete the image of the face from an applicant:

DELETE https://api.yoti.com/idverify/v1/applicants/<applicant_id>/faces/<face_id>

Delete the applicant pool

Call the below endpoint to delete an applicant pool:

DELETE https://api.yoti.com/idverify/v1/pools/<pool_id>

Delete the applicant from the pool

Call the endpoint below to delete an applicant from a specific applicant pool:

DELETE https://api.yoti.com/idverify/v1/pools/<pool_id>/applicants/<applicant_id>