Removes the maximum bandwidth configured for an elastic IP address (EIP) that is associated with an EIP bandwidth plan.
Usage notes
- After this operation is performed, the maximum bandwidth of the EIP equals that of the EIP bandwidth plan.
- You cannot repeatedly call the CancelCommonBandwidthPackageIpBandwidth operation to remove the maximum bandwidth configured for an EIP within the specified period of time.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | CancelCommonBandwidthPackageIpBandwidth |
The operation that you want to perform. Set the value to CancelCommonBandwidthPackageIpBandwidth. |
RegionId | String | Yes | cn-hangzhou |
The region ID of the EIP bandwidth plan. You can call the DescribeRegions operation to query the most recent region list. |
BandwidthPackageId | String | Yes | cbwp-bp13d0m4e2qv8xxxxxxxx |
The ID of the EIP bandwidth plan. |
EipId | String | Yes | eip-2zewysoansu0sxxxxxxxx |
The ID of the EIP that is associated with the EIP bandwidth plan. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 63D187BF-A30A-4DD6-B68D-FF182C96D8A2 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=CancelCommonBandwidthPackageIpBandwidth
&RegionId=cn-hangzhou
&BandwidthPackageId=cbwp-bp13d0m4e2qv8xxxxxxxx
&EipId=eip-2zewysoansu0sxxxxxxxx
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<CancelCommonBandwidthPackageIpBandwidthResponse>
<RequestId>63D187BF-A30A-4DD6-B68D-FF182C96D8A2</RequestId>
</CancelCommonBandwidthPackageIpBandwidthResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "63D187BF-A30A-4DD6-B68D-FF182C96D8A2"
}
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.