Deletes a bandwidth plan.


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

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteBandwidthPackage

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

RegionId String Yes cn-hangzhou

The ID of the region where the Global Accelerator (GA) instance is deployed. Set the value to cn-hangzhou.

BandwidthPackageId String Yes gbwp-bp1sgzldyj6b4q7cx****

The ID of the bandwidth plan that you want to delete.

ClientToken String No 123e4567-e89b-12d3-a456-426655440000

The client token that is used to ensure the idempotence of the request.

You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.

Response parameters

Parameter Type Example Description
RequestId String 6FEA0CF3-D3B9-43E5-A304-D217037876A8

The ID of the request.

BandwidthPackageId String gbwp-bp1sgzldyj6b4q7cx****

The ID of the deleted bandwidth plan.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "RequestId" : "6FEA0CF3-D3B9-43E5-A304-D217037876A8",
  "BandwidthPackageId" : "gbwp-bp1sgzldyj6b4q7cx****"

Error codes

HttpCode Error code Error message Description
400 NotExist.BandwidthPackage The bandwidth package does not exist. The error message returned because the specified bandwidth plan does not exist.
400 StateError.BandwidthPackage The state of bandwidth package is invalid. The error message returned because the specified bandwidth plan is invalid.
400 BindExist.BandwidthPackage The bandwidth package is already bound. The error message returned because the specified bandwidth plan is bound to a GA instance.

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