Domain APIs

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}

Request

  • Base URL
    https://emailapi.netcorecloud.net/v6
  • URL
    https://emailapi.netcorecloud.net/v6/domains/{domain}
  • Auth
    HTTP 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 header request parameter on_behalf_of

    • info

      added the new optional header request parameter on-behalf-of