> For the complete documentation index, see [llms.txt](https://docs.senpiper.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.senpiper.com/groups-applications/managing-group-members/automated-user-management/how-to-define-criteria-for-removing-users.md).

# 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.

![](https://4216568905-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mc6E3BSGr4i8kVdH38k%2F-MlFRULIKZfPXEvruU9P%2F-MlF_wBoI2E877Y_Uor0%2Fimage.png?alt=media\&token=e186a9f9-d629-4e4a-a9d6-a34fbe4a24a5)

The group details are displayed.

![](https://4216568905-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mc6E3BSGr4i8kVdH38k%2F-MlFRULIKZfPXEvruU9P%2F-MlFi-G1FO03rGemvhNy%2Fimage.png?alt=media\&token=93d2c02b-4c62-4fda-b259-376de81546ba)

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.

![](https://4216568905-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mc6E3BSGr4i8kVdH38k%2F-MlJbu8EUEgy4rDaWnyf%2F-MlJcbY_Yrqtv-fCHkPb%2Fimage.png?alt=media\&token=88a0480f-727a-4e97-b4f7-896df5d1a848)

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

![](https://4216568905-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mc6E3BSGr4i8kVdH38k%2F-MlJbu8EUEgy4rDaWnyf%2F-MlJcsdcloiiExIYiS2J%2Fimage.png?alt=media\&token=795cc599-9b2a-47f5-9927-98db431ed1f5)

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.

![](https://4216568905-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mc6E3BSGr4i8kVdH38k%2F-MlJdsV_z03oTZqDPA1q%2F-MlJftTLuwHW7u8b80vd%2Fimage.png?alt=media\&token=cde9b747-37ea-483c-860f-b7cbad57e5c0)

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.

![](https://4216568905-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mc6E3BSGr4i8kVdH38k%2F-MlJdsV_z03oTZqDPA1q%2F-MlJhMVCsj8Bped1Srgw%2Fimage.png?alt=media\&token=a99a6bd7-2c01-409a-9d04-576b2d6d543e)
