DELETE FILE (V2)

Have you retrieved your email validation API results and would like to delete your file? You’ve come to the right place.

The deletefile API deletes the file that you submitted using the sendfile API. Please note that the file can be deleted only when its status is Complete.

API URL: https://bulkapi.zerobounce.net/v2/deletefile

GET /V2/DELETEFILE

URL Parameters

  • Parameter
    Description
  • api_key
    Your API Key, found in your account.
  • file_id
    The returned file ID when calling sendfile API.

DELETE FILE CODE SAMPLES

ENDPOINT RESPONSE

Below you can find examples of both successful and errors responses.

Successful Response

{
  "success": true,
  "message": "File Deleted",
  "file_name": "test2",
  "file_id": "b222a0fd-90d5-416c-8f1a-9cc3851fc823"
}
Error Response

{
  "success": false,
  "message": "File cannot be found."
}

The ZeroBounce email validation API streamlines your workflows and saves you time. The API returns 30 statuses and sub-statuses about the email data in your list. You can use it both in real time and in bulk – if you’d like to program it and automate your email verification.

The ZeroBounce API prevents erroneous and risky email addresses from being added to your database. It detects typos, abuse, role-based emails, catch-all emails and spam traps, just to name a few. Once connected to your signup form, it verifies the email contact of every new subscriber, thus keeping your data accurate.

If you need help deleting your email validation API file, please let us know. Our team is here 24/7 to answer any questions and make things easier for you.