Changes the acceleration region of a specified accelerated domain.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyDCdnDomainSchdmByProperty |
The operation that you want to perform. Set the value to ModifyDCdnDomainSchdmByProperty. |
DomainName | String | Yes | example.com |
The name of the accelerated domain for which you want to change the acceleration region. You can specify only one domain name. |
Property | String | Yes | {"coverage":"overseas"} |
The region where the acceleration service is deployed. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 15C66C7B-671A-4297-9187-2C4477247A74 |
The ID of the request. |
Examples
Sample requests
http://dcdn.aliyuncs.com?Action=ModifyDCdnDomainSchdmByProperty
&DomainName=example.com
&property={"coverage":"overseas"}
&<Common request parameters>
Sample success responses
XML
format
<ModifyDCdnDomainSchdmByPropertyResponse>
<RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>
</ModifyDCdnDomainSchdmByPropertyResponse>
JSON
format
{
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A74"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | Schedule.NotFound | This domain does not have any available CDN resources in the accelerated area. | The error message returned because the specified acceleration region does not have available node resources for the domain. |
400 | DomainTraffic.ExceedThreshold | You are not allowed to perform this operation because the traffic peak of the last day exceeds the threshold. | The error message returned because the peak traffic of the previous day of the specified domain has reached the upper limit. In this case, this operation cannot be called. |
400 | Domain.BeianInvalid | You are not allowed to perform this operation because the ICP license of your domain is invalid in Chinese Mainland. | The error message returned because the Internet content provider filing of the specified domain in mainland China is invalid. |
400 | Schedule.ChangeFail | Failed to change the accelerated area for the domain. | The error message returned because the system has failed to change the acceleration region for the specified domain. |
For a list of error codes, visit the API Error Center.