code: def delete(cls, resources, background=False):
          
          if not isinstance(resources, (list, tuple)):
              resources = [resources]
  
          opers = []
          for item in resources:
              oper = cls.call('hosting.vlan.delete', cls.usable_id(item))
              if not oper:
                  continue
  
              if isinstance(oper, list):
                  opers.extend(oper)
              else:
                  opers.append(oper)
  
          if background:
              return opers
  
          # interactive mode, run a progress bar
          cls.echo('Deleting your vlan.')
          if opers:
              cls.display_progress(opers)
docs: Delete a vlan.