Disassociates an EIP from an EIP bandwidth plan.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | RemoveCommonBandwidthPackageIp |
The operation that you want to perform. Set the value to RemoveCommonBandwidthPackageIp. |
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-2ze2ic1xd2qeqk145**** |
The ID of the EIP bandwidth plan. |
IpInstanceId | String | Yes | eip-2zeerraiwb7uj6i0d**** |
The ID of the EIP. You can call the DescribeEipAddresses operation to query the most recent region list. |
ClientToken | String | No | 123e4567-e89b-12d3-a456-426655440000 |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. ClientToken can contain only ASCII characters. Note If you do not set this parameter, the system automatically uses RequestId as ClientToken. RequestId may be different for each API request.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 54B48E3D-DF70-471B-AA93-08E683A1B45 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=RemoveCommonBandwidthPackageIp
&RegionId=cn-hangzhou
&BandwidthPackageId=cbwp-2ze2ic1xd2qeqk145****
&IpInstanceId=eip-2zeerraiwb7uj6i0d****
&ClientToken=123e4567-e89b-12d3-a456-426655440000
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<RemoveCommonBandwidthPackageIpResponse>
<RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>
</RemoveCommonBandwidthPackageIpResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "54B48E3D-DF70-471B-AA93-08E683A1B45"
}
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. |
404 | InvalidBandwidthPackageId.NotFound | The specified bandwidthPackageId does not exist in our records. | The error message returned because the ID of the specified EIP bandwidth plan does not exist. |
For a list of error codes, visit the API Error Center.