code: def delete_floating_ip(kwargs=None, call=None):
      '''
      Delete a floating IP
  
      .. versionadded:: 2016.3.0
  
      CLI Examples:
  
      .. code-block:: bash
  
          salt-cloud -f delete_floating_ip my-digitalocean-config floating_ip='45.55.96.47'
      '''
      if call != 'function':
          log.error(
              'The delete_floating_ip function must be called with -f or --function.'
          )
          return False
  
      if not kwargs:
          kwargs = {}
  
      if 'floating_ip' not in kwargs:
          log.error('A floating IP is required.')
          return False
  
      floating_ip = kwargs['floating_ip']
      log.debug('Floating ip is %s', kwargs['floating_ip'])
  
      result = query(method='floating_ips',
                     command=floating_ip,
                     http_method='delete')
  
      return resulf delete_floating_ip(kwargs=None, call=None):
      '''
      Delete a floating IP
  
      .. versionadded:: 2016.3.0
  
      CLI Examples:
  
      .. code-block:: bash
  
          salt-cloud -f delete_floating_ip my-digitalocean-config floating_ip='45.55.96.47'
      '''
      if call != 'function':
          log.error(
              'The delete_floating_ip function must be called with -f or --function.'
          )
          return False
  
      if not kwargs:
          kwargs = {}
  
      if 'floating_ip' not in kwargs:
          log.error('A floating IP is required.')
          return False
  
      floating_ip = kwargs['floating_ip']
      log.debug('Floating ip is %s', kwargs['floating_ip'])
  
      result = query(method='floating_ips',
                     command=floating_ip,
                     http_method='delete')
  
      return result
docs: Delete a floating IP
  
      .. versionadded:: 2016.3.0
  
      CLI Examples:
  
      .. code-block:: bash
  
          salt-cloud -f delete_floating_ip my-digitalocean-config floating_ip='45.55.96.47'