Downgrades the bandwidth of a Smart Access Gateway (SAG) instance.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
SmartAGId | string | Yes | The ID of the SAG instance. | sag-nylv14tghsk26c***** |
RegionId | string | Yes | The ID of the region where the SAG instance is deployed. | cn-hangzhou |
BandWidthSpec | long | Yes | The bandwidth of the SAG instance.
| 20 |
AutoPay | boolean | Yes | Specifies whether it is an auto-renewal order generated by a subscription instance. Valid values:
| true |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "A6B9EB0F-57DB-4843-A372-04678ABF490E",
"OrderId": "20337777855****"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | SAG.InvalidUserCount | The specified UserCount is invalid. | The specified number of users is invalid. |
400 | SAG.InvalidDataPlan | The specified DataPlan is invalid. | The specified data plan is invalid. |
For a list of error codes, visit the Service error codes.