You cannot delete a local group if it is referenced by another object. See Deleting Referenced Objects for more details.
To delete a local group
In the AMC, navigate to Security Administration > Users & Groups.
Click the Local Accounts tab.
Select the groups you want to delete.
Click the X (Delete) icon.