DeleteGroup

Deletes the group matching the provided name

public bool DeleteGroup(string groupName)
groupName
string required

The name of the group

bool
using System;
public class CPHInline
{
    public bool Execute()
    {
        //Define the groupname you want to delete
        string groupName = "Test Group";

        //Method returns a bool type which you can check if the group was deleted
        bool groupDeleted = CPH.DeleteGroup(groupName);         return true;
    }
}