Delete Domain

DELETE {{apiPath}}/environments/{{envID}}/customDomains/{{customDomainID}}

Note: Before (or after) you delete a custom 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 /environments/{{envID}}/customDomains/{{customDomainID}} operation to delete the custom domain resource entity specified by its ID in the request URL.

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