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 CPaaS account.

Request URL

https://cpaas.zoho.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
valuesarray[string]Mandatory

Array of email addresses or domains to suppress.

Sample Request

Curl
Java
Python
Deluge
Copied!
curl --request DELETE \
  --url https://cpaas.zoho.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
messagestringread-only
statusstringread-only

- HTTP code 400

Response Body - application/json
JSON Object
Show Sub-Attributes
errorJSON Object
Show Sub-Attributes
codestringread-only
messagestringread-only
statusstringread-only

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