NetGroupDel or Net32GroupDel

The NetGroupDel API removes a group account from the user accounts subsystem (UAS) database in LAN Server and OS/2 Warp Server.

It is not necessary to remove all members from a group before deleting the group account. Deleting a group account does not delete the individual accounts of its member users.