Deletes an EIP bandwidth plan.
Usage notes
You cannot repeatedly call the DeleteCommonBandwidthPackage operation within a specific time period.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
Action | String | Yes | DeleteCommonBandwidthPackage | The operation that you want to perform. Set the value to DeleteCommonBandwidthPackage. |
RegionId | String | Yes | cn-hangzhou | The ID of the region where the EIP bandwidth plan is created. You can call the DescribeRegions operation to query the most recent region list. |
Force | String | No | false | Specifies whether to forcefully delete the EIP bandwidth plan. Valid values:
|
BandwidthPackageId | String | Yes | cbwp-2ze2ic1xd2qeqk145pn4u | The ID of the EIP bandwidth plan. |
Response parameters
Parameter | Type | Example | Description |
RequestId | String | B400EF57-60E3-4D61-B8FB-7FA8F72DF5A6 | The request ID. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteCommonBandwidthPackage
&RegionId=cn-hangzhou
&Force=false
&BandwidthPackageId=cbwp-2ze2ic1xd2qeqk145pn4u
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteCommonBandwidthPackageResponse>
<RequestId>B400EF57-60E3-4D61-B8FB-7FA8F72DF5A6</RequestId>
</DeleteCommonBandwidthPackageResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "B400EF57-60E3-4D61-B8FB-7FA8F72DF5A6"
}
Error codes
HttpCode | Error code | Error message | Description |
400 | MissingParam.%s | The param of %s is missing. | A required parameter is not specified. |
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 | 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. |
For a list of error codes, see Service error codes.