Delete Domain
Delete a domain from your ZeptoMail account.
Endpoint
Copy full URL
Request URL
https://api.zeptomail.com/v1.1/domains/{domain_key} Copied!
Scope
Zeptomail.Domains.DELETECopied!
(or)
Zeptomail.Domains.ALLCopied!
Request Parameters
- Path Parameters
domain_keystringMandatory
Unique key of the domain.
Sample Request
Curl
Java
Python
Deluge
Copied!
curl --request DELETE \
--url https://api.zeptomail.com/v1.1/domains/{domain_key} \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'Response Parameters
- HTTP code 200
Response Body - application/json
JSON Object
- HTTP code 400
Response Body - application/json
JSON Object
Possible Response Codes
200HTTP code
Domain deleted successfully.
400HTTP code
Bad Request
Sample Response: HTTP 200
Copied!
{
"message": "Domain deleted successfully.",
"status": "success"
}
▼ Show full
Sample Response: HTTP 400
Copied!
{
"error": {
"code": "DM_400",
"message": "Invalid domain"
},
"status": "failure"
}
▼ Show full
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.