DeleteCdnDomain

Last Updated: Sep 30, 2017

Description

Deletes an added CDN domain name.

Note:

  • 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 CDN domain name will be deleted. If you only wish to suspend use of the CDN domain name temporarily, we recommend using the StopCdnDomain interface

Request parameters

Parameter Type Required Description
Action String Yes Operation interface name, required parameter
Values: DeleteCdnDomain
DomainName String Yes The CDN domain name to be deleted

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 invalid. 400
InvaildParameter The specified parameter DomainName format is error. 400
DomainNotExist This domain name does not exist 404
ServiceBusy The specified Domain is configuring. Try again later 503
InvalidParameter The specified value of parameter is not valid. 400
InternalError The request processing has failed due to backend service exception. 400

Use case

Request example:

  1. http://cdn.aliyuncs.com
  2. ?Action=DeleteCdnDomain
  3. &DomainName=test.com
  4. &<Public Request Parameter>

Return example

JSON format:

  1. {
  2. "RequestId": "94E3559F-7B6A-4A5E-AFFD-44E2A208A249"
  3. }

XML format:

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