code: def delete(name, runas=None):
      '''
      Delete a VM
  
      .. versionadded:: 2016.11.0
  
      :param str name:
          Name/ID of VM to clone
  
      :param str runas:
          The user that the prlctl command will be run as
  
      Example:
  
      .. code-block:: bash
  
          salt '*' parallels.exec macvm 'find /etc/paths.d' runas=macdev
      '''
      return prlctl('delete', salt.utils.data.decode(name), runas=runasf delete(name, runas=None):
      '''
      Delete a VM
  
      .. versionadded:: 2016.11.0
  
      :param str name:
          Name/ID of VM to clone
  
      :param str runas:
          The user that the prlctl command will be run as
  
      Example:
  
      .. code-block:: bash
  
          salt '*' parallels.exec macvm 'find /etc/paths.d' runas=macdev
      '''
      return prlctl('delete', salt.utils.data.decode(name), runas=runas)
docs: Delete a VM
  
      .. versionadded:: 2016.11.0
  
      :param str name:
          Name/ID of VM to clone
  
      :param str runas:
          The user that the prlctl command will be run as
  
      Example:
  
      .. code-block:: bash
  
          salt '*' parallels.exec macvm 'find /etc/paths.d' runas=macdev