You can call this operation to delete a custom domain name.

Request headers

This operation uses only common request headers. For more information, see Common parameters.

Request syntax

DELETE /custom-domains/{domainName} 

Request parameters

Parameter Type Position Required Example Description
domainName String Path Yes example.com

The domain name.

Examples

Sample requests

DELETE /2016-08-15/custom-domains/example.com HTTP/1.1 
Common request headers
 {
	"domainName":"example.com"
}

Sample success responses

JSON format

HTTP/1.1 204 No Content
Common response headers