Deletes a bandwidth plan.

Description

  • You cannot delete subscription bandwidth plans. They are automatically released when they expire. If you want to delete a subscription bandwidth plan, submit a ticket.
  • You can call this operation to delete a pay-as-you-go bandwidth plan.

Prerequisites

The bandwidth plan that you want to delete is detached from the Cloud Enterprise Network (CEN) instance. For more information, see UnassociateCenBandwidthPackage.

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 DeleteCenBandwidthPackage

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

CenBandwidthPackageId String Yes cenbwp-4c2zaavbvh5f42****

The ID of the bandwidth plan to be deleted.

Response parameters

Parameter Type Example Description
RequestId String C0245BEF-52AC-44A8-A776-EF96FD26A5CA

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteCenBandwidthPackage
&CenBandwidthPackageId=cenbwp-4c2zaavbvh5f42****
&<Common request parameters>

Sample success responses

XML format

<DeleteCenBandwidthPackageResponse>
       <RequestId>C0245BEF-52AC-44A8-A776-EF96FD26A5CA</RequestId>
</DeleteCenBandwidthPackageResponse>

JSON format

{
  "RequestId": "C0245BEF-52AC-44A8-A776-EF96FD26A5CA"
}

Error codes

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