docs: def detach(gandi, resource, background, force):
      """ Detach disks from currectly attached vm.
  
      Resource can be a disk name, or ID
      """
      resource = sorted(tuple(set(resource)))
      if not force:
          proceed = click.confirm('Are you sure you want to detach %s?' %
                                  ', '.join(resource))
          if not proceed:
              return
  
      result = gandi.disk.detach(resource, background)
      if background:
          gandi.pretty_echo(result)
  
      return result