> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RemoveFromGroup

> RemoveFromGroup method in the ABBYY FlexiCapture group management API removes a user or nested group from a specified group using principal and group IDs.

## What it does

Removes a user or a group from the specified group.

## Definition

```
void RemoveFromGroup( int principalId, int groupId );
```

## Parameters

| **Name**    | **Type** | **Description**                                 |
| ----------- | -------- | ----------------------------------------------- |
| principalId | int      | The ID of a user or a group to be deleted       |
| groupId     | int      | The ID of a group that the data is deleted from |

## Returned value

N/A
