Modifies the bandwidth limit of a bandwidth plan.

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 No ModifyCenBandwidthPackageSpec

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

Bandwidth Integer Yes 2

The new bandwidth limit of the bandwidth plan. Unit: Mbit/s.

Valid values: 2 to 10000.

CenBandwidthPackageId String Yes cenbwp-4c2zaavbvh5x****

The ID of the bandwidth plan.

Response parameters

Parameter Type Example Description
RequestId String 0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ModifyCenBandwidthPackageSpec
&Bandwidth=2
&CenBandwidthPackageId=cenbwp-4c2zaavbvh5x****
&<Common request parameters>

Sample success responses

XML format

<ModifyCenBandwidthPackageSpecResponse>
       <RequestId>0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50</RequestId>
</ModifyCenBandwidthPackageSpecResponse>

JSON format

{
  "RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}

Error codes

HttpCode Error code Error message Description
400 InvalidStatus.Resource The status of the specified resource is invalid. The resource cannot be renewed. The error message returned because the status of the specified resource is invalid. The resource cannot be renewed.
400 OperationFailed.InsufficientBalance Your account does not have enough balance. The error message returned because your Alibaba Cloud account has overdue payments.
400 OperationFailed.OperationIsProcessing The operation failed because another operation is being processed. The error message returned because another operation is being performed.
400 OperationFailed.OrderIsProcessing The operation failed because the order is being processed. The error message returned because the order is being processed.

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