# How to auto-remove users?

There are times when the user profile of a group member goes through some changes, and it no longer satisfies the [<mark style="color:purple;">**criteria that was added for adding members to the group**</mark>](/groups-applications/managing-group-members/automated-user-management/how-to-define-criteria-for-adding-users.md). In such cases, we can configure the settings to auto-remove such users.&#x20;

1\.    From the menu bar, in the **Groups** dropdown list, select the group name in which the criteria is to be defined.

![](/files/-MlF_wBoI2E877Y_Uor0)

The group details are displayed.

![](/files/-MlFi-G1FO03rGemvhNy)

As you can see, we selected the **Reimbursement** group, the details of which are displayed.

2\.   Turn on the **Auto remove existing members from the group if group criteria or user profile is updated** toggle switch.

![](/files/-MlJcbY_Yrqtv-fCHkPb)

The **Confirm Auto Delete** window is displayed.

![](/files/-MlJcsdcloiiExIYiS2J)

3\.    Select **I agree to continue with the update** and click **Continue**.\
Any changes in the user profiles that do not fit the auto-addition criteria will cause the users to be auto-deleted from the user list.

For instance, there are 3 users in the **Member List** of the **Reimbursement** group.

![](/files/-MlJftTLuwHW7u8b80vd)

However, the criteria with which the users, **Abhash Kumar Jha** and **User** were added to the member list are no longer satisfied, and we want to remove them immediately and automatically from the **Member List**.&#x20;

The way to do this is to turn on the toggle switch for **Auto remove existing members from the group if group criteria or user profile is updated.** The users will be auto-deleted as and when the specified criteria is not met.

![](/files/-MlJhMVCsj8Bped1Srgw)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.senpiper.com/groups-applications/managing-group-members/automated-user-management/how-to-define-criteria-for-removing-users.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
