Reduces the bandwidth of a Smart Access Gateway (SAG) APP 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 1

Indicates whether to automatically pay the bill for a subscription instance.

  • 0: No
  • 1: Yes
DataPlan Long Yes 5

The amount of free data provided for each account per month. Unit: GB. Currently, only 5 GB of free data is provided for each account each month.

RegionId String Yes cn-shanghai

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

SmartAGId String Yes sag-n2uym2h45lnd31****

The ID of the SAG APP instance.

UserCount Integer Yes 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 log on to the SAG APP.

Action String No DowngradeSmartAccessGatewaySoftware

The name of this action.

Value: DowngradeSmartAccessGatewaySoftware

Response parameters

Parameter Type Example value Description
OrderId String 204595234160786

The order ID of the bandwidth decrease.

RequestId String 3145AF24-1A5E-4AB7-90DA-7201FDD90B8D

The ID of the request.

Examples

Request example


http(s)://[Endpoint]/? Action=DowngradeSmartAccessGatewaySoftware
&AutoPay=1
&DataPlan=5
&RegionId=cn-shanghai
&SmartAGId=sag-n2uym2h45lnd31****
&UserCount=5
&<CommonParameters>

Response example

XML format

<DowngradeSmartAccessGatewaySoftwareResponse>
  <RequestId>3145AF24-1A5E-4AB7-90DA-7201FDD90B8D</RequestId>
  <OrderId>204595234160786</OrderId>
</DowngradeSmartAccessGatewaySoftwareResponse>

JSON format

{
	"OrderId":204595234160786,
	"RequestId":"3145AF24-1A5E-4AB7-90DA-7201FDD90B8D"
}

Errors

HTTP status code Error code Error message Description
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 DataPlan is invalid.

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