Domain APIs
Delete Domain
Changed onThis 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}
Request
- Base URLhttps://emailapi.netcorecloud.net/v6
- URLhttps://emailapi.netcorecloud.net/v6/domains/{domain}
- AuthHTTP bearer
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.
Changes
- warning
deleted the
headerrequest parameteron_behalf_of - info
added the new optional
headerrequest parameteron-behalf-of
- warning