ZeroBounce Logo

Docs

Language Icon
  • Sign In
  • Sign Up Free

Languages

ZeroBounce ImageGetting Started
ZeroBounce ImageEmail List Validation
ZeroBounce ImageA.I. Email Scoring
ZeroBounce ImageEmail Finder
ZeroBounce ImageDomain Search
ZeroBounce ImageActivity Data
ZeroBounce ImageMulti-file upload
ZeroBounce ImageIntegrations
ZeroBounce ImageUsage Reports
ZeroBounce ImageYour ZeroBounce Account
ZeroBounce ImageEmail Validation API
ZeroBounce ImageConnecting with Postman
ZeroBounce ImageGet Credit Balance (v2)
ZeroBounce ImageGet API Usage (v2)
ZeroBounce ImageSingle Email Validator-Real time (v2)
ZeroBounce ImageGreylist API Processing
ZeroBounce ImageWebsite Availability and WHOIS Checker
ZeroBounce ImageBatch Email Validator-Real time (v2)
ZeroBounce ImageAllowlist and Blocklist (v2)
ZeroBounce ImageSandbox Mode (v2)
ZeroBounce ImageStatus Codes (v2)
ZeroBounce ImageV2 Changes
ZeroBounce ImageFile Management Overview (v2)
ZeroBounce ImageSend File (v2)
ZeroBounce ImageFile Status (v2)
ZeroBounce ImageGet File (v2)
ZeroBounce ImageDelete File (v2)
ZeroBounce ImageSuccess / Fail Response
ZeroBounce ImageEmail Finder API
ZeroBounce ImageDomain Search API
ZeroBounce ImageBulk Domain Search API
ZeroBounce ImageDomain Search - Send File
ZeroBounce ImageDomain Search - File Status
ZeroBounce ImageDomain Search - Get File
ZeroBounce ImageDomain Search - Delete File
ZeroBounce ImageA.I. Scoring API
ZeroBounce ImageActivity Data API
ZeroBounce ImageList Evaluator API
ZeroBounce ImageApi Dashboard
ZeroBounce ImageAPI Wrappers
ZeroBounce ImageAPI Migration
ZeroBounce ImageFAQ
ZeroBounce ImageSecuring Your Account
ZeroBounce ImageAbout ZeroBounce
ZeroBounce ImageDeliverability Dashboard
ZeroBounce ImageDeliverability Tools
ZeroBounce ImageEmail Warmup
ZeroBounce ImageStatus Page
  • Email Validation Homepage
  • Separator
  • Docs
  • Separator
  • Email Validation Quickstart
  • Separator
  • v2 Delete File
Email Validation Quickstart

DELETE FILE CODE SAMPLES

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,
  "error_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.