> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.idenfy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Identification Deletion

> Delete identity verification data and associated files via the iDenfy API for GDPR compliance using the scanRef identifier endpoint.

<Note>
  **Requirements:**

  * API key pair
  * `scanRef` of the verification to delete
</Note>

***

## Deleting Verification Data

```
POST https://ivs.idenfy.com/api/v2/delete
Authorization: Basic {API_KEY}:{API_SECRET}
Content-Type: application/json
```

This endpoint removes data from iDenfy's system including client photos of their document and face, parsed document information, names, surnames, and other personal data.

The only required parameter is `scanRef` of the verification.

### Request Example

```json theme={"system"}
{
  "scanRef": "350e2420-8850-11e9-baa5-309c231b1bac"
}
```

### Response -- Success

For successful API calls that correctly delete all data, there will be no message body -- just a response with a **200** status code.

### Response -- Failed

Failed API calls return a message identifying the problem.

```json theme={"system"}
{
  "message": "Token has not expired yet.",
  "identifier": "PARTNER_ERROR",
  "documentation": "",
  "severity": "NOT_SEVERE"
}
```

<Note>
  In case of a malformed JSON body or API key/secret mismatch, you will receive a standard iDenfy API error response. For more details, see [error messages](/kyc/id-error-messages).
</Note>
