Discourse offers the ability to delete multiple users directly from the admin users list. This feature is useful in situations where unwanted user accounts are created, such as during a spam wave, and you want to delete those accounts in a quick way.
To use this feature, visit the admin users list at /admin/users/list
, or any of its variants, and follow the steps:
-
Enable the bulk select mode by clicking the bulk select icon at the top of the user list next to the Username column
-
A checkbox next to each user will appear once the bulk select mode is enabled. Select the users that you wish to delete
-
From the “Bulk actions” dropdown that appears at the top of the list, select “Delete users…”
-
In the confirmation modal, type in the confirmation phrase
-
Optionally, select the option for blocking the IP and email addresses of the selected users
-
Confirm the delete operation
After initiating the delete operation, the confirmation modal will update to display the real-time progress as each user is deleted. If any errors occur during the deletion process, they will appear in the modal while continuing to process the remaining users.
When using bulk selection mode, you can refine your search to find specific users. The users you select will be remembered even as you modify your search term or remove it completely. This makes it convenient to select multiple users across different search results.
Screenshots below show the process in sequence, with numbered markers matching the steps above:
Some caveats:
- You can delete up to 100 users users in one go
- Users that can’t be deleted will display a disabled checkbox and hovering over the checkbox will show a tooltip explaining why they can’t be deleted
Last edited by @Osama 2025-01-06T09:26:40Z
Check document
Perform check on document: