Delete Trusted Email Domain

DELETE {{apiPath}}/environments/{{envID}}/emailDomains/{{emailDomainID}}

Note:

  • Before you delete a trusted email domain resource, all associated email addresses must be deleted.
  • Before (or after) you delete a trusted email domain resource, it is recommended that you remove the CNAME record that you created for this domain from the DNS manager. This step is optional.

The sample shows the DELETE {{apiPath}}/environments/{{envID}}/emailDomains/{{emailDomainID}} operation to delete the trusted email domain resource entity specified by its ID in the request URL.

When successful, the DELETE request returns a code 204 Successfully deleted. No Content message.