def delete(name):
    ret = __salt__['cmd.run_all']('pw groupdel {0}'.format(name), python_shell=False)

    return not ret['retcode']
Remove the named group
dataset/ETHPy150Open saltstack/salt/salt/modules/pw_group.py/delete