docs: def delete(gandi, resource, background, force):
      """Delete one or more IPs (after detaching them from VMs if necessary).
  
      resource can be an ip id or ip.
      """
      resource = sorted(tuple(set(resource)))
      possible_resources = gandi.ip.resource_list()
  
      # check that each IP can be deleted
      for item in resource:
          if item not in possible_resources:
              gandi.echo('Sorry interface %s does not exist' % item)
              gandi.echo('Please use one of the following: %s' %
                         possible_resources)
              return
  
      if not force:
          proceed = click.confirm('Are you sure you want to delete ip(s) %s' %
                                  ', '.join(resource))
          if not proceed:
              return
  
      return gandi.ip.delete(resource, background, force)