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 |
|
|
| BandwidthPackageId |
string |
Yes |
|
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|
||
| RequestId |
string |
|
Examples
Success response
JSON format
{
"RequestId": ""
}
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.