# Is there a non-query way to remove a bulk of users from groups?

**URL:** https://meta.discourse.org/t/is-there-a-non-query-way-to-remove-a-bulk-of-users-from-groups/271086
**Category:** Support
**Tags:** groups
**Created:** [July 10, 2023, 8:20am UTC](https://meta.discourse.org/t/is-there-a-non-query-way-to-remove-a-bulk-of-users-from-groups/271086 "2023-07-10T08:20:13Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Anat\_Srulovitch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anat_srulovitch/32/282793_2.png) [@Anat\_Srulovitch](https://meta.discourse.org/u/Anat_Srulovitch)
#### Post date: [July 10, 2023, 8:20am UTC](https://meta.discourse.org/t/is-there-a-non-query-way-to-remove-a-bulk-of-users-from-groups/271086/1 "2023-07-10T08:20:14Z")

</div>

Hi,

We’re looking for a way to clean up the community - remove inactive users from groups, in bulk.  
Is there a non-query way to do it?  
Like an option to select many users in bulk and remove all of their group assignments?

Thanks!

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [July 10, 2023, 9:17am UTC](https://meta.discourse.org/t/is-there-a-non-query-way-to-remove-a-bulk-of-users-from-groups/271086/2 "2023-07-10T09:17:15Z")

</div>

Hello, Anat!

> [@Anat\_Srulovitch](#):
>
> remove inactive users from groups

Can you define “inactive”?

You can select multiple users from a group like this:

But how to do it will mostly depend on how you identify these “inactive users”.

---

<div class="post-metadata">

### Author: ![Anat\_Srulovitch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anat_srulovitch/32/282793_2.png) [@Anat\_Srulovitch](https://meta.discourse.org/u/Anat_Srulovitch)
#### Post date: [July 10, 2023, 9:37am UTC](https://meta.discourse.org/t/is-there-a-non-query-way-to-remove-a-bulk-of-users-from-groups/271086/3 "2023-07-10T09:37:17Z")

</div>

Thank you very much!  
We’ll need to remove users from several groups, so I was wondering if the same mechanism exists for the Admin User panel.

 ![Screenshot 2023-07-10 at 12.36.58](https://global.discourse-cdn.com/meta/original/4X/4/4/d/44d9a25fd775d29652032c709619e578410d9634.png)

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [July 10, 2023, 9:39am UTC](https://meta.discourse.org/t/is-there-a-non-query-way-to-remove-a-bulk-of-users-from-groups/271086/4 "2023-07-10T09:39:06Z")

</div>

As far as I know, there isn’t such a mechanism in the admin panel.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [July 10, 2023, 10:00am UTC](https://meta.discourse.org/t/is-there-a-non-query-way-to-remove-a-bulk-of-users-from-groups/271086/5 "2023-07-10T10:00:29Z")

</div>

[Administrative Bulk Operations](https://meta.discourse.org/t/administrative-bulk-operations/118349) has examples that might help.

---

<div class="post-metadata">

### Author: ![Anat\_Srulovitch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anat_srulovitch/32/282793_2.png) [@Anat\_Srulovitch](https://meta.discourse.org/u/Anat_Srulovitch)
#### Post date: [July 10, 2023, 10:00am UTC](https://meta.discourse.org/t/is-there-a-non-query-way-to-remove-a-bulk-of-users-from-groups/271086/6 "2023-07-10T10:00:46Z")

</div>

Thanks, both.
