code: def delete(login):
      '''
      Delete user account
  
      login : string
          login name
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' pdbedit.delete wash
      '''
      if login in list_users(False):
          res = __salt__['cmd.run_all'](
              'pdbedit --delete {login}'.format(login=_quote_args(login)),
          )
  
          if res['retcode'] > 0:
              return {login: res['stderr'] if 'stderr' in res else res['stdout']}
  
          return {login: 'deleted'}
  
      return {login: 'absent'f delete(login):
      '''
      Delete user account
  
      login : string
          login name
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' pdbedit.delete wash
      '''
      if login in list_users(False):
          res = __salt__['cmd.run_all'](
              'pdbedit --delete {login}'.format(login=_quote_args(login)),
          )
  
          if res['retcode'] > 0:
              return {login: res['stderr'] if 'stderr' in res else res['stdout']}
  
          return {login: 'deleted'}
  
      return {login: 'absent'}
docs: Delete user account
  
      login : string
          login name
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' pdbedit.delete wash