The sample shows the DELETE /environments/{environmentId}/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.