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 name | Value | Description |
| export_type* | Value: mail-logs or activity-logs or suppression-list | Type of export information to be obtained. |
Query parameters
| Parameter name | Type | Description |
| export_ids | String |
|
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" } }