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
Test
RAM authorization
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 |
| 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.