Modifies the maximum public bandwidth for an Internet access package.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyNetworkPackage

The operation that you want to perform. Set the value to ModifyNetworkPackage.

NetworkPackageId String Yes np-amtp8e8q1o9e4****

The ID of the Internet access package.

RegionId String Yes cn-hangzhou

The ID of the region.

Bandwidth Integer No 20

The maximum public bandwidth. Unit: Mbit/s.

Valid values: 1 to 200.

Response parameters

Parameter Type Example Description
RequestId String 269BDB16-2CD8-4865-84BD-11C40BC21DB0

The ID of the request.

Examples

Sample requests

https://ecd.cn-hangzhou.aliyuncs.com/?Action=ModifyNetworkPackage
&NetworkPackageId=np-amtp8e8q1o9e4****
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<ModifyNetworkPackage>
      <RequestId>269BDB16-2CD8-4865-84BD-11C40BC21DB0</RequestId>
</ModifyNetworkPackage>

JSON format

{
    "RequestId":"269BDB16-2CD8-4865-84BD-11C40BC21DB0"
}

Error codes

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