Delete a domain
DELETE
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.
errorobjectrequirederror.typestringrequiredMachine-readable error code.
error.messagestringrequiredHuman-readable error message.
error.paramstringThe offending field; present only on validation errors.
