All Products
Search
Document Center

Smart Access Gateway:UpgradeSmartAccessGateway

Last Updated:Mar 03, 2024

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

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
SmartAGIdstringYes

The ID of the SAG instance.

sag-d3m51apgw4po******
RegionIdstringYes

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

cn-hangzhou
BandWidthSpeclongYes

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
3
AutoPaybooleanYes

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

Valid values: true | false. Default value: false

true

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

45F07029-1783-4B2D-B4CE-45B9EAA58440
OrderIdstring

The ID of the order.

203384676330296

Examples

Sample success responses

JSONformat

{
  "RequestId": "45F07029-1783-4B2D-B4CE-45B9EAA58440",
  "OrderId": "203384676330296"
}

Error codes

HTTP status codeError codeError messageDescription
400SAG.InvalidUserCountThe specified UserCount is invalid.The specified number of users is invalid.
400SAG.InvalidDataPlanThe specified DataPlan is invalid.The specified data plan is invalid.

For a list of error codes, visit the Service error codes.