Home > Article > Operation and Maintenance > How to delete one or more secondary private IP addresses from an ENI
The content of this article is about how to delete one or more auxiliary private IP addresses from an elastic network card. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.
UnassignPrivateIpAddresses
Description
Only supports elastic network cards in the available (Available) or bound (InUse) state .
When operating the main network card, the instance attached to the network card must be in the Running or Stopped state.
Request parameters
##Return parameters
are all public return parameters. See Public Return Parameters.Example
Request example
https://ecs.aliyuncs.com/?Action=UnassignPrivateIpAddresses &NetworkInterfaceId=eni-m5e709m1ytxc4wx7wXXX &PrivateIpAddress.1=192.168.0.1 &PrivateIpAddress.2=192.168.10.1 &<公共请求参数>
Return example
XML format
<UnassignPrivateIpAddressesResponse> <RequestId>04F0F334-1335-436C-A1D7-6C044FE70008</RequestId> </UnassignPrivateIpAddressesResponse>
JSON format
{ "RequestId": "04F0F334-1335-436C-A1D7-6C044FE70008" }
Error code
The following are error codes unique to this interface. For more error codes, please visit the API Error Center.The above is the detailed content of How to delete one or more secondary private IP addresses from an ENI. For more information, please follow other related articles on the PHP Chinese website!