v1

latestOpenAPI 3.1.02026-07-2616459400.5 KB
Domain APIs

Delete Domain

This API removes a domain from your account. Once deleted, the domain will no longer be available for sending or domain-based configurations such as authentication, tracking, or routing. Use this endpoint when a domain is no longer needed or must be replaced. The domain must belong to your account or the subaccount specified.

delete/domains/{domain}

Path parameters

domainstring required

The domain name you want to delete. The domain must exist in your account or associated subaccount.

Headers

on_behalf_ofstring
Example:subaccount_username

(Optional) Use this when deleting a domain on behalf of a subaccount. Required only if using a master account’s API key.

Response

Domain successfully deleted. No content returned.