Deletes a domain name.
Debug
Request parameters
Name | Type | Required | Example | Description |
Action | String | Yes | DeleteDomain | A required parameter. Set the value to DeleteDomain. |
AccountId | String | No | 12**** | The ID of the HTTPDNS account. |
DomainName | String | Yes | www.example.com | The domain name. |
Response data
Name | Type | Example | Description |
DomainName | String | www.example.com | The domain name. |
RequestId | String | FA8C2599-362D-4113-8FB4-E88A40C2**** | The request ID. |
Examples
Sample request
http(s)://httpdns-api.aliyuncs.com/?Action=DeleteDomain
&DomainName=www.aliyun.com
&<Common request parameters>Sample response
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<?xml version='1.0' encoding='UTF-8'?>
<DeleteDomainResponse>
<RequestId>FA8C2599-362D-4113-8FB4-E88A40C2639D</RequestId>
<DomainName>www.aliyun.com</DomainName>
</DeleteDomainResponse>JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "FA8C2599-362D-4113-8FB4-E88A40C2639D",
"DomainName" : "www.aliyun.com"
}Error codes
For a list of error codes, see the Error Center.