Skip to content
dimmiDocs

Email

Remove a sending domain

DELETE/api/v1/email-domains/{domain}

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the settings:write ability

Path parameters

domainstringrequired

Id of the sending email domain, starting with edm_, such as edm_01jx2m8k4t. Find it with GET /email-domains.

Query parameters

forceboolean

true removes a domain addresses still send from.

Response 204

No Content

No body.

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.