Skip to main content

Deleting client data

If you have API key and API secret you can delete client data belonging to you.

note

API key and API secret can be retrieved by contacting iDenfy sales team:

Calling this endpoint will remove data from iDenfy's system such as client photos of their document and face, parsed document information, names, surnames, etc.

Sending request

Send a HTTP Post request to: https://ivs.idenfy.com/api/v2/delete The request must contain basic auth headers where username is API key and password is API secret. The request must contain JSON with a scanRef:

KeyRequiredExplanationTypeConstraints
scanRefYesA unique string identifying a client on iDenfy’s side.StringNot null

Examples

Example request

{
"scanRef": "350e2420-8850-11e9-baa5-309c231b1bac"
}

Example responses

For successful API calls, which correctly delete all data, there will be no message, just a response with a positive 200 status.

An example response that failed

Failed API calls will return a message containing, identifying the problem.

{
"message": "Token has not expired yet.",
"identifier": "PARTNER_ERROR",
"documentation": "https://documentation.idenfy.com",
"severity": "NOT_SEVERE"
}
note

Note that in case of a malformed JSON body or API key/secret mismatch you will receive a standard iDenfy API error response. For more on iDenfy API responses visit iDenfy error messages.