# RemoveGroup Method

## Overloads

| [RemoveGroup(String, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.RemoveGroup.htm#Qlik_Engine_GenericObject_RemoveGroup_System_String_System_String_) |  | You can use the RemoveGroup method with any object that contains an object grouping definition.<br><br>This method allows you to remove a group of objects directly.<br><br>This action only removes the group, not any of its members. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.RemoveGroup.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.RemoveGroup.htm)

## RemoveGroup(String, String)

You can use the RemoveGroup method with any object that contains an object grouping definition.

This method allows you to remove a group of objects directly.

This action only removes the group, not any of its members.

### Declaration

```

          public void RemoveGroup([QixName("qPath")] string path, [QixName("qGroupId")] string groupId)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | path | Path to the definition of the object to be selected.<br>For example `/qNxGroupDef` . |
| System.String | groupId | Name of the group to be removed.<br>May not be an empty string. |

### Implements

[IGenericObject.RemoveGroup(String, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.RemoveGroup.htm#Qlik_Engine_IGenericObject_RemoveGroup_System_String_System_String_)