curl --request DELETE \
--url https://app.sendmux.ai/api/v1/domains/{public_id} \
--header 'Authorization: Bearer <token>'{
"ok": true,
"data": {
"deleted": true,
"id": "<string>"
},
"meta": {
"request_id": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}Removes a domain from our mail platform, Amazon SES, and Sendmux. Blocked if any active mailbox still uses the domain — delete those mailboxes first.
curl --request DELETE \
--url https://app.sendmux.ai/api/v1/domains/{public_id} \
--header 'Authorization: Bearer <token>'{
"ok": true,
"data": {
"deleted": true,
"id": "<string>"
},
"meta": {
"request_id": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}Sendmux API key. Obtain from the dashboard under API Keys. Format: smx_root_...
Domain public ID
Deletion result
Was this page helpful?