Discourse Meta
Marking multiple account as Suspended account
Development
rails-console
pfaffman
(Jay Pfaffman)
August 7, 2024, 3:05pm
5
Figure out how to get the users and then use update_all.
I think ChatGPT can tell you pretty well
show post in topic
Related topics
Topic
Replies
Views
Activity
Bulk suspend users based on criteria
Product Support
17
3758
June 7, 2019
Unable to Bulk Suspend/Deactivate Users in Rails Console on Discourse 3.5.0.beta5-dev
Product Support
rails-console
1
177
May 28, 2025
Suspend API Not Working
Development
rest-api
11
1408
June 22, 2018
Suspend all users apart from admin users for development copy
Product Support
7
1055
April 4, 2019
How to extend time of all suspended users by one command?
Product Support
2
848
May 29, 2020