code: def purge(name, delete_key=True, quiet=False, path=None):
      '''
      Purge the named container and delete its minion key if present.
      WARNING: Destroys all data associated with the container.
  
      path
          path to the container parent
          default: /var/lib/lxc (system default)
  
          .. versionadded:: 2015.8.0
  
      .. code-block:: bash
  
          salt-run lxc.purge name
      '''
      data = _do_names(name, 'destroy', path=path)
      if data is False:
          return data
  
      if delete_key:
          skey = salt.key.Key(__opts__)
          skey.delete_key(name)
  
      if data is None:
          return
  
      if not quiet:
          __jid_event__.fire_event(
              {'data': data, 'outputter': 'lxc_purge'}, 'progress')
      return datf purge(name, delete_key=True, quiet=False, path=None):
      '''
      Purge the named container and delete its minion key if present.
      WARNING: Destroys all data associated with the container.
  
      path
          path to the container parent
          default: /var/lib/lxc (system default)
  
          .. versionadded:: 2015.8.0
  
      .. code-block:: bash
  
          salt-run lxc.purge name
      '''
      data = _do_names(name, 'destroy', path=path)
      if data is False:
          return data
  
      if delete_key:
          skey = salt.key.Key(__opts__)
          skey.delete_key(name)
  
      if data is None:
          return
  
      if not quiet:
          __jid_event__.fire_event(
              {'data': data, 'outputter': 'lxc_purge'}, 'progress')
      return data
docs: Purge the named container and delete its minion key if present.
      WARNING: Destroys all data associated with the container.
  
      path
          path to the container parent
          default: /var/lib/lxc (system default)
  
          .. versionadded:: 2015.8.0
  
      .. code-block:: bash
  
          salt-run lxc.purge name