You can call this operation to release contiguous Elastic IP addresses.
Description
You can call this operation to release all Elastic IP addresses from a contiguous Elastic IP address group.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ReleaseEipSegmentAddress |
The operation that you want to perform. Set the value to ReleaseEipSegmentAddress. |
RegionId | String | Yes | cn-hangzhou |
The ID of the region to which the contiguous Elastic IP addresses belong. You can call the DescribeRegions operation to query the region ID. |
SegmentInstanceId | String | Yes | eipsg-2zett8ba055tbsxme**** |
The ID of the instance for which Elastic IP addresses are to release from a contiguous Elastic IP address group. After this parameter is set, the system releases all Elastic IP addresses from the contiguous Elastic IP address group. |
ClientToken | String | No | 02fb3da4-130e-11e9-8e44-001sdfg |
The client token that is used to ensure the idempotence of the request. You can use the client to generate a token, but you must ensure that the token is unique among different requests. The token must be a maximum of 64 characters in length and can contain only ASCII characters. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | F7A6301A-64BA-41EC-8284-8F4838C15D1F |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=ReleaseEipSegmentAddress
&RegionId=cn-hangzhou
&SegmentInstanceId=eipsg-2zett8ba055tbsxme****
&<Common request parameters>
Sample success responses
XML
format
<ReleaseEipSegmentAddressResponse>
<RequestId>F7A6301A-64BA-41EC-8284-8F4838C15D1F</RequestId>
</ReleaseEipSegmentAddressResponse>
JSON
format
{
"RequestId":"F7A6301A-64BA-41EC-8284-8F4838C15D1F"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | IncorrectEipStatus | Current elastic IP status does not support this operation. | The error message returned because this operation cannot be performed while the specified contiguous Elastic IP addresses are in the current state. |
500 | InternalError | The request processing has failed due to some unknown error. | The error message returned because unknown errors occur. |
404 | Forbidden.RegionNotFound | Specified region is not found during access authentication. | The error message returned because the specified region does not exist. |
400 | Forbidden.ChargeTypeIsPrepaid | It's forbidden to release a prepaid EIP | The error message returned because the subscription contiguous Elastic IP addresses cannot be released. |
400 | Forbidden | The eip instance owner error | The error message returned because you are not authorized to perform this operation on the contiguous Elastic IP addresses. |
400 | TaskConflict.AssociateGlobalAccelerationInstance | Operate too frequent. | The error message returned because too many requests are sent. |
For a list of error codes, visit the API Error Center.