Modifies the maximum bandwidth of an EIP bandwidth plan.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyCommonBandwidthPackageSpec |
The operation that you want to perform. Set the value to ModifyCommonBandwidthPackageSpec. |
Bandwidth | String | Yes | 100 |
The maximum bandwidth of the EIP bandwidth plan. Unit: Mbit/s. |
BandwidthPackageId | String | Yes | cbwp-2ze2ic1xd2qeqk145**** |
The ID of the EIP bandwidth plan. |
RegionId | String | Yes | cn-hangzhou |
The region ID of the EIP bandwidth plan. You can call the DescribeRegions operation to query the most recent region list. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 7F129000-F929-4AF5-BE8D-BAE434C795306 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ModifyCommonBandwidthPackageSpec
&Bandwidth=100
&BandwidthPackageId=cbwp-2ze2ic1xd2qeqk145****
&RegionId=cn-hangzhou
&<Common request parameters>
Sample success responses
XML
format
<ModifyCommonBandwidthPackageSpecResponse>
<RequestId>7F129000-F929-4AF5-BE8D-BAE434C79530</RequestId>
</ModifyCommonBandwidthPackageSpecResponse>
JSON
format
null
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
404 | InvalidRegionId.NotFound | The specified RegionId does not exist in our records. | The error message returned because the specified region ID does not exist. |
404 | InvalidBandwidth.ValueNotSupported | The specified value of Bandwidth not supported. | The error message returned because the specified maximum bandwidth value is invalid. |
404 | BandwidthPackage.FinancialLocked | The specified BandwidthPackage has been Financail Lock. | The error message returned because the specified EIP bandwidth plan is locked due to overdue payments. |
For a list of error codes, visit the API Error Center.