Deletes a bandwidth package.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:DeleteBandwidthPackage |
delete |
*BandwidthPackage
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the bandwidth package resides. You can call the DescribeRegions operation to query the latest region list. |
cn-hangzhou |
| BandwidthPackageId |
string |
Yes |
The ID of the bandwidth package to delete. |
bwp-bp1xea10o8qxwaswq**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | DependencyViolation.ForwardEntry | The specified BandwidthPackageId has dependent resource. | |
| 400 | DependencyViolation.SnatEntry | The specified BandwidthPackageId has dependent resource. | |
| 404 | InvalidBandwidth.NotExist | bandwidth package not exist. | |
| 404 | InvalidRegionId.NotFound | The specified RegionId does not exist in our records. | The specified RegionId parameter does not exist. Check whether the service is available in the specified region. |
| 404 | InvalidBandwidthPackageId.NotFound | The specified BandwidthPackageId does not exist in our records. | |
| 404 | InvalidNatGateway.NotFound | The specified natGateway does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.