Skip to main content

Delete a Document Validation

Endpoint​

DELETE https://api.verifik.co/v2/document-validations/{id}

With this service, you can permanently remove a specific Document Validation record from your Verifik account. This action cannot be undone and will completely remove the document validation data.

Headers​

Content-Type​

Type: String
Required: Yes

application/json

Authorization​

Type: String
Required: Yes

Bearer {YOUR_ACCESS_TOKEN}

Path Parameters​

id​

Type: string
Required: Yes

The unique identifier of the Document Validation you want to delete

Request​

import axios from 'axios';

const options = {
method: 'DELETE',
url: 'https://api.verifik.co/v2/document-validations/document_validation_123456789',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer <your_token>'
}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}

Response​

{
"success": true,
"message": "Document validation deleted successfully",
"signature": {
"dateTime": "April 11, 2023 12:25 PM",
"message": "Certified by Verifik.co"
}
}

Important Notes​

  • Permanent Deletion: This action cannot be undone. All document validation data will be permanently removed.
  • Associated Data: Deleting a document validation may affect related app registrations or project flows.
  • Backup: Consider backing up important data before deletion.

</TabItem>
</Tabs>

### Important Notes

* **Permanent Deletion**: This action cannot be undone. All document validation data will be permanently removed.
* **Associated Data**: Deleting a document validation may affect related app registrations or project flows.
* **Backup**: Consider backing up important data before deletion.

### Features

- **Permanent Deletion**: Completely removes the document validation record
- **ID Identification**: Uses unique ID to identify the validation to delete
- **Success Confirmation**: Confirmation response when deletion is successful
- **Error Handling**: Error responses for not found and unauthorized cases
- **Multiple Languages**: Support for JavaScript, Python, PHP, and Swift
- **Security**: Requires authentication with access token
- **Warnings**: Important notes about the permanent nature of deletion