Purpose

This API deletes the exported files.

Request URL

Method : DELETE

https://api.zeptomail.com/v1.1/{{export_type}}/exports?export_ids

OAuth scope

The steps to generate and use OAuth token can be found here.

scope=Zeptomail.Exports.All

or

scope=Zeptomail.Exports.DELETE

 

ALL -This gives full CRUD (Create, Read, Update and Delete) access to all export APIs.

DELETE - This allows access only to perform DELETE operations.

 

Path parameters

Parameter nameValueDescription
export_type*Value: mail-logs or activity-logs or suppression-listType of export information to be obtained. 

Query parameters

Parameter nameTypeDescription
export_idsString
  • Represents the unique id that was generated when the files were exported. Use this to delete the desired exports.
  • You can add multiple export ids by separating them with commas. 

Note:

* - Mandatory parameter

Sample request

curl "https://api.zeptomail.com/v1.1/{{export_type}}/exports?export_ids=123" -X DELETE -H "Authorization : Zoho-oauthtoken ***"\ -H "Content-Type : application/json" \

Sample response

{ "status": { "code": 204, "description": "success" } }

PREVIOUS

UP NEXT