Delete SMTP short passwords
Delete a specific SMTP short password for a Mail Agent.
Endpoint
Request URL
https://api.zeptomail.com/v1.1/mailagents/{mailagentkey}/short-passwords/{id} Copied!
Scope
Zeptomail.MailAgents.DELETECopied!
(or)
Zeptomail.MailAgents.ALLCopied!
Request Parameters
- Path Parameters
mailagentkeystringMandatory
Unique key of the Mail Agent.
idstringMandatory
Unique ID of the SMTP password to delete.
Sample Request
Curl
Java
Python
Deluge
Copied!
curl --request DELETE \
--url https://api.zeptomail.com/v1.1/mailagents/{mailagentkey}/short-passwords/{id} \
--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
SMTP password deleted successfully.
400HTTP code
Bad Request
Sample Response: HTTP 200
Copied!
{
"message": "SMTP password deleted successfully.",
"status": "success"
}
▼ Show full
Sample Response: HTTP 400
Copied!
{
"error": {
"code": "MA_107",
"message": "Mail agent name already exists"
},
"status": "failure"
}
▼ Show full
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.