sendsend.email

Stop receiving on a domain

DELETE/v1/inbound/domains/{id}

Closes receiving for the domain straight away. Remove the MX record too, or mail sent to it will bounce. Mail already received is kept until its retention period ends.

Required scope: inbound:manage

Parameters

NameInDescription
idrequiredpathThe inbound domain id.

Example

curl -X DELETE 'https://api.sendsend.email/v1/inbound/domains/ID' \
  -H "Authorization: Bearer $SENDSEND_API_KEY"

Response 200

{
  "object": "inbound_domain",
  "id": "ind_Wq7…",
  "deleted": true
}

Errors

StatusCodeWhen
404not_foundNo such resource in this project.
401unauthorizedThe API key is missing, invalid or revoked.
403forbiddenThe key does not have the scope this endpoint needs.

Every error has the same shape. See Errors.