Disables a specified accelerated domain. After the accelerated domain is disabled, the value of the DomainStatus parameter changes to Offline for the domain.
Note
- After the accelerated domain is disabled, Dynamic Route for CDN retains its information and reroutes all the requests that are destined for the accelerated domain to the origin.
- The maximum number of times that each user can call this operation per second is 30.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | StopDcdnDomain |
The operation that you want to perform. Set the value to StopDcdnDomain. |
DomainName | String | Yes | example.com |
The name of the accelerated domain to be disabled. 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://dcdn.aliyuncs.com?Action=StopDcdnDomain
&DomainName=example.com
&<Common request parameters>
Sample success responses
XML
format
<StopDcdnDomainResponse>
<RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C9</RequestId>
</StopDcdnDomainResponse>
JSON
format
{
"RequestId": "0AEDAF20-4DDF-4165-8750-47FF9C1929C9"
}
Error codes
For a list of error codes, visit the API Error Center.