Modify a site's acceleration area. Update its acceleration configuration to adapt to traffic changes or improve user access in specific regions.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
The site ID. Get this by calling the ListSites interface. |
1234567890123 |
| Coverage |
string |
Yes |
The target acceleration area to modify. Valid values:
|
global |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
65C66B7B-671A-8297-9187-2R5477247B76 |
Examples
Success response
JSON format
{
"RequestId": "65C66B7B-671A-8297-9187-2R5477247B76"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 400 | Site.ServiceBusy | This website is being configured. Try again later. | This website is being configured. Try again later. |
| 400 | InvalidParameter.Coverage | The selected location is unavailable in your plan. Change the location to one that is covered by the plan and try again. | The selected location is unavailable in your plan. Change the location to one that is covered by the plan and try again. |
| 400 | SiteHasTransportLayerApplications | The current site has an existing four-layer accelerated application, and the current operation is not allowed. If necessary, please contact customer service. | The current site has an existing four-layer accelerated application, and the current operation is not allowed. If necessary, please contact customer service. |
| 400 | IpaNotActive | The ipa application is not active. | The ipa application is not active. |
| 400 | InvalidSiteICP | The specified website does not have an ICP filing or the filing information is invalid. Make sure your website is filed and try again. | The specified website does not have an ICP filing or the filing information is invalid. Make sure your website is filed and try again. |
| 400 | NotEnoughResource.CustomPort | Resource verification failed because there are not enough IP resources. | Resource verification failed because there are not enough IP resources. |
| 400 | Site.HasStaticIP | This operation is not allowed because the site has static IP enabled. | This operation is not allowed because the site has static IP enabled. |
| 400 | Site.HasCN2 | The website has enabled CN2, and this operation is not allowed. | The website has enabled CN2, and this operation is not allowed. |
| 500 | InternalError | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.