# DeleteGroup Method The DeleteGroup method deletes a code group. Syntax
    SiteCafe.Server.Codes.DeleteGroup(index)
Parameters
index | Long value that specifies the group index.
Return Value None. Remarks None. Examples The following example creates and deletes a code group.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    groupIndex = SiteCafe.Server.Codes.CreateGroup("NewGroup");
    SiteCafe.Server.Codes.DeleteGroup(groupIndex);
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top