Mailfully logo

Delete a domain

DELETEhttps://api.mailfully.com/v1/domains/{id}

Deletes a sending domain. On success it returns 204 No Content with an empty body. Any key with the send scope can delete, test or live. Mail still queued or scheduled from the domain fails after it is deleted. Requires the send scope.

Loading code example
Loading code example

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

idstringrequired

The domain id (dom_…).

Response

application/json

Authentication failed.

errorobjectrequired
error.typestringrequired

Machine-readable error code.

error.messagestringrequired

Human-readable error message.

error.paramstring

The offending field; present only on validation errors.