Deletes a specified accelerated domain name.

Note
  • Before you delete your domain name, you must request the Domain Name System (DNS) provider to restore the A record of the domain name. Otherwise, the domain name may become inaccessible after you delete it.
  • If you call the DeleteDcdnDomain operation, all the information about the accelerated domain name is deleted. If you want to disable an accelerated domain name, call the StopDcdnDomain operation.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer automatically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteDcdnDomain

The operation that you want to perform. Set the value to DeleteDcdnDomain.

DomainName String Yes example.com

The accelerated domain name to be deleted. You can specify only one domain name.

Response parameters

Parameter Type Example Description
RequestId String 0AEDAF20-4DDF-4165-8750-47FF9C1929C9

The ID of the request.

Examples

Sample requests

http(s)://dcdn.aliyuncs.com/? Action=DeleteDcdnDomain
&DomainName=example.com
&<Common request parameters>

Sample responses

XML format

<DeleteDcdnDomainResponse>
      <RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C9</RequestId>
</DeleteDcdnDomainResponse>

JSON format

{
  "RequestId": "0AEDAF20-4DDF-4165-8750-47FF9C1929C9"
}

Error codes

HttpCode Error code Error message Description
400 InvalidDomainName.Malformed The specified DomainName is invalid. The error message returned because the specified value of the DomainName parameter is invalid.

For a list of error codes, visit the API Error Center.