:doc:`NetworkInterface <index>` / Action / unassign_private_ip_addresses

*****************************
unassign_private_ip_addresses
*****************************



.. py:method:: EC2.NetworkInterface.unassign_private_ip_addresses(**kwargs)

  

  Unassigns the specified secondary private IP addresses or IPv4 Prefix Delegation prefixes from a network interface.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateIpAddresses>`_  


  **Request Syntax**
  ::

    response = network_interface.unassign_private_ip_addresses(
        Ipv4Prefixes=[
            'string',
        ],
        PrivateIpAddresses=[
            'string',
        ]
    )
    
  :type Ipv4Prefixes: list
  :param Ipv4Prefixes: 

    The IPv4 prefixes to unassign from the network interface.

    

  
    - *(string) --* 

    

  :type PrivateIpAddresses: list
  :param PrivateIpAddresses: 

    The secondary private IP addresses to unassign from the network interface. You can specify this option multiple times to unassign more than one IP address.

    

  
    - *(string) --* 

    

  
  :returns: None