Modifies the maximum public bandwidth for an Internet access package.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyNetworkPackage

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

RegionId String Yes cn-hangzhou

The ID of the region.

NetworkPackageId String Yes np-amtp8e8q1o9e4****

The ID of the Internet access package.

Bandwidth Integer No 20

The maximum public bandwidth. Unit: Mbit/s.

Valid values for the pay-by-data-transfer type (PayByTraffic): 10 to 200.

Valid values for the pay-by-bandwidth type (PayByBandwidth): 10 to 1000.

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
&Bandwidth=20
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

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

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

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