Deletes an Internet Shared Bandwidth instance.
Operation Description
You cannot repeatedly call the DeleteCommonBandwidthPackage operation to delete an Internet Shared Bandwidth instance within the specified period of time.
debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the region where the Internet Shared Bandwidth instance is created. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
Force | string | No | Specifies 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 parameters
Examples
Sample success responses
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. | The specified region ID does not exist. |
404 | InvalidBandwidthPackageId.NotFound | The specified BandwidthPackageId does not exist in our records. | The ID of the specified EIP bandwidth plan does not exist. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
2023-07-24 | API Description Update,The error codes of the API operation change. | see changesets | ||||||||
|