DeleteCdnDomain

Last Updated: May 27, 2016

Description

Deletes an added acceleration domain name.

Note

  • Please be careful when using this operation (we suggest you restore the domain name A record at the DNS provider before deleting the domain name) to ensure the domain name can still be accessed after deletion.
  • After DeleteCdnDomain is called successfully, all the records associated with the acceleration domain name will be deleted. If you only wish to suspend use of the acceleration domain name temporarily, we recommend using the StopCdnDomain interface

Request Parameters

Parameter Type Required Description
Action String Yes Operator interface name, required parameter
Values:DeleteCdnDomain
DomainName String Yes The domain name that requests access to CDN

Return Parameters

Name Type Description
RequestID String The ID that requests the task

Specific Error Codes

ErrorCode Message HTTP Status
OperationDenied Your account does not open CDN service yet. 403
InvaildParameter The specified Domain is not vaild. 400
InvaildParameter The specified parameter DomainName format is error. 400
DomainNotExist This domain name is not exist 404
ServiceBusy The specified Domain is configuring, please retry later 503
InvalidParameter The specified value of parameter <parameter name> is not valid. 400
InternalError The request processing has failed due to backend service exception. 400

Examples

Request example:

http://cdn.aliyuncs.com?Action=DeleteCdnDomain&DomainName=test.com&<Common Request Parameter>

Return example

JSON format:

{
  "RequestId": "94E3559F-7B6A-4A5E-AFFD-44E2A208A249"
}

XML format:

<DeleteCdnDomainResponse>
  <RequestId>4785C948-233E-45FD-BA27-1C2119BBC2CC</RequestId>
</DeleteCdnDomainResponse>
Thank you! We've received your feedback.