code: def delete_ipaddress(ipaddr_id):
      '''
      .. versionadded:: 2019.2.0
  
      Delete an IP address. IP addresses in Netbox are a combination of address
      and the interface it is assigned to.
  
      id
          The Netbox id for the IP address.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion netbox.delete_ipaddress 9002
      '''
  
      nb_ipaddr = _get('ipam', 'ip-addresses', auth_required=True, id=ipaddr_id)
      if nb_ipaddr:
          nb_ipaddr.delete()
          return {'DELETE': {'ipam': {'ip-address': ipaddr_id}}}
      return Falsf delete_ipaddress(ipaddr_id):
      '''
      .. versionadded:: 2019.2.0
  
      Delete an IP address. IP addresses in Netbox are a combination of address
      and the interface it is assigned to.
  
      id
          The Netbox id for the IP address.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion netbox.delete_ipaddress 9002
      '''
  
      nb_ipaddr = _get('ipam', 'ip-addresses', auth_required=True, id=ipaddr_id)
      if nb_ipaddr:
          nb_ipaddr.delete()
          return {'DELETE': {'ipam': {'ip-address': ipaddr_id}}}
      return False
docs: .. versionadded:: 2019.2.0
  
      Delete an IP address. IP addresses in Netbox are a combination of address
      and the interface it is assigned to.
  
      id
          The Netbox id for the IP address.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion netbox.delete_ipaddress 9002