:doc:`EC2 <../../ec2>` / Client / unassign_ipv6_addresses

***********************
unassign_ipv6_addresses
***********************



.. py:method:: EC2.Client.unassign_ipv6_addresses(**kwargs)

  

  Unassigns the specified IPv6 addresses or Prefix Delegation prefixes from a network interface.

  

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


  **Request Syntax**
  ::

    response = client.unassign_ipv6_addresses(
        Ipv6Prefixes=[
            'string',
        ],
        NetworkInterfaceId='string',
        Ipv6Addresses=[
            'string',
        ]
    )
    
  :type Ipv6Prefixes: list
  :param Ipv6Prefixes: 

    The IPv6 prefixes to unassign from the network interface.

    

  
    - *(string) --* 

    

  :type NetworkInterfaceId: string
  :param NetworkInterfaceId: **[REQUIRED]** 

    The ID of the network interface.

    

  
  :type Ipv6Addresses: list
  :param Ipv6Addresses: 

    The IPv6 addresses to unassign from the network interface.

    

  
    - *(string) --* 

    

  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'NetworkInterfaceId': 'string',
          'UnassignedIpv6Addresses': [
              'string',
          ],
          'UnassignedIpv6Prefixes': [
              'string',
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **NetworkInterfaceId** *(string) --* 

        The ID of the network interface.

        
      

      - **UnassignedIpv6Addresses** *(list) --* 

        The IPv6 addresses that have been unassigned from the network interface.

        
        

        - *(string) --* 
    
      

      - **UnassignedIpv6Prefixes** *(list) --* 

        The IPv6 prefixes that have been unassigned from the network interface.

        
        

        - *(string) --* 
    
  