StopCdnDomain

Last Updated: May 27, 2016

Description

Disables an acceleration domain name and changes the DomainStatus to offline

Note

  • After disabling this acceleration domain name, the acceleration domain name information will be retained. The system will automatically perform return to source processing for requests to the acceleration domain name
  • If, for the moment, you do not require acceleration for a certain domain name, we recommend using the StopCdnDomain interface to suspend acceleration for the domain name

Request Parameters

Parameter Type Required Description
Action String Yes Operator interface name, required parameter
Values:StopCdnDomain
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
DomainNotExist This domain name is not exist 404
IllegalOperation illegal domain operate is not permitted. 403
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=StopCdnDomain&DomainName=test.com&<Common Request Parameter>

Return example

JSON format:

{
  "RequestId": "324AEFFF-308C-4DA7-8CD3-01B277B98F28"
}

XML format:

<StopCdnDomainResponse>
  <RequestId>12FE5F2B-8D1F-447F-AAD7-51183F3EEA07</RequestId>
</StopCdnDomainResponse>
Thank you! We've received your feedback.