Deletes an EIP bandwidth plan.
Usage notes
You cannot repeatedly call the DeleteCommonBandwidthPackage operation to delete an EIP bandwidth plan within the specified period of time.
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 forcibly 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 ID of the request. |
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 |
---|---|---|---|
404 | InvalidRegionId.NotFound | The specified RegionId does not exist in our records. | The error message returned because the specified region ID does not exist. |
For a list of error codes, visit the API Error Center.