Delete DND

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Remove a suppression (DND) entry from your ZeptoMail account.

Request URL

https://api.zeptomail.com/v1.1/suppressions/{dnd_type} Copied!

Scope

Zeptomail.Suppressions.DELETECopied!
(or)
Zeptomail.Suppressions.ALLCopied!

Request Parameters

- Path Parameters

dnd_typestringMandatory

Type of suppression entry. Use email for email address suppression or domain for domain suppression.

Allowed Values :
Show Values
emailCopied!
domainCopied!
Copied!Copy all as JSON Array

- Request Body

application/json
JSON Object
Show Sub-Attributes
valuesarrayMandatory

Array of email addresses or domains to suppress.

Sample Request

Curl
Java
Python
Deluge
Copied!
curl --request DELETE \
  --url https://api.zeptomail.com/v1.1/suppressions/{dnd_type} \
  --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"values":["user@example.com"]}'

Sample Request Body

Copied!
  {
    "values": [
      "user@example.com"
    ]
  }
                
Show full

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Show Sub-Attributes
messagestring
statusstring

- HTTP code 400

Response Body - application/json
JSON Object
Show Sub-Attributes
errorJSON Object
Show Sub-Attributes
codestring
messagestring
statusstring

Possible Response Codes

200HTTP code

Suppression entry deleted successfully.

400HTTP code

Bad Request

Sample Response: HTTP 200

Copied!
  {
    "message": "Suppression entry deleted successfully.",
    "status": "success"
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "error": {
      "code": "SP_400",
      "message": "Invalid request"
    },
    "status": "failure"
  }
                
Show full