Reduces the bandwidth of a Smart Access Gateway (SAG) instance.

Debug

Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
AutoPay Boolean Yes true

Indicates whether to automatically pay the bill for a subscription instance. Default value: false

BandWidthSpec Long Yes 20

The bandwidth of the SAG instance.

  • Value range for an SAG-100WM device: 2 to 50. Unit: Mbit/s
  • Value range for an SAG-1000 device: 10 to 500. Unit: Mbit/s
RegionId String Yes cn-hangzhou

The ID of the region to which the SAG instance belongs.

SmartAGId String Yes sag-nylv14tghsk26c*****

The ID of the SAG instance.

Action String No DowngradeSmartAccessGateway

The name of this action. Value: DowngradeSmartAccessGateway

DataPlan Long No 5

The amount of free data available for the account. Unit GB.

Note Currently, only 5 GB/month data plan is available for purchase.
UserCount Integer No 5

The number of accounts that can be created to log on to the SAG APP. Generally, you can create an account for each employee who needs to use the SAG APP.

Response parameters

Parameter Type Example value Description 
OrderId String 203377778550296

The ID of the order.

RequestId String A6B9EB0F-57DB-4843-A372-04678ABF490E

The ID of the request.

Examples

Request example


http(s)://[Endpoint]/? Action=DowngradeSmartAccessGateway
&AutoPay=true
&BandWidthSpec=20
&RegionId=cn-hangzhou
&SmartAGId=sag-nylv14tghsk26c*****
&<CommonParameters>

Response example

XML format

<DowngradeSmartAccessGatewayResponse>
    <RequestId>A6B9EB0F-57DB-4843-A372-04678ABF490E</RequestId>
    <OrderId>203377778550296</OrderId>
</DowngradeSmartAccessGatewayResponse>

JSON format

{
	"RequestId":"A6B9EB0F-57DB-4843-A372-04678ABF490E",
	"OrderId":203377778550296
}

Errors

HTTP status code Error code Error message  Error message
400 SAG.InvalidUserCount The specified UserCount is invalid. The specified number of accounts is invalid.
400 SAG.InvalidDataPlan The specified DataPlan is invalid. The specified data plan is invalid.

For a list of error codes, visit the API Error Center.