All Products
Search
Document Center

Internet Shared Bandwidth:DeleteCommonBandwidthPackage

Last Updated:Aug 28, 2026

Deletes an Internet Shared Bandwidth instance.

Operation description

You cannot call the DeleteCommonBandwidthPackage operation to delete the same Internet Shared Bandwidth instance within a specific period of time.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID of the Internet Shared Bandwidth instance.

You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou

Force

string

No

Whether to forcefully delete the Internet Shared Bandwidth instance. Valid values:

  • false (default): deletes the Internet Shared Bandwidth instance only if no EIPs are associated with it.

  • true: disassociates all EIPs from the Internet Shared Bandwidth instance and then deletes it.

false

BandwidthPackageId

string

Yes

The ID of the Internet Shared Bandwidth instance.

cbwp-2ze2ic1xd2qeqk145pn4u

Response elements

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The request ID.

B400EF57-60E3-4D61-B8FB-7FA8F72DF5A6

Examples

Success response

JSON format

{
  "RequestId": "B400EF57-60E3-4D61-B8FB-7FA8F72DF5A6"
}

Error codes

HTTP status code

Error code

Error message

Description

400 MissingParam.%s The param of %s is missing. The required parameter is not set.
400 DependencyViolation.Ips The specified BandwidthPackageId has dependent resource ips.
400 ForbiddenAction.PrePaid The specified BandwidthPackageId is PrePaid.
400 OperationFailed.BandwidthPackageNotEmpty Eip bandwidth package not empty. The EIP bandwidth plan cannot be deleted because EIPs are associated with the EIP bandwidth plan.
400 InvalidOperation.DeletionProtection The instance cannnot delete because of deletion protecion.
400 OperationUnsupported.Release95Instance Releasing instances that payBy95 or payByOld95 is unsupported.
400 OperationFailed.AddIpTaskInProcessing Operation failed because add ip to common bandwidth task in processing. You cannot delete the resource because EIPs are being associated with the EIP bandwidth plan.
404 InvalidRegionId.NotFound The specified RegionId does not exist in our records.
404 InvalidBandwidthPackageId.NotFound The specified BandwidthPackageId does not exist in our records.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.