When a user is marked as suspended from the UI, the backend updates the suspended_at and suspended_till fields in the user table. I have 500 users whose profiles need to be marked as suspended. I’m planning to retrieve these user IDs based on their group ID and set the suspended_at field to: current date
and the suspended_till field to:
‘Sun, 01 Aug 3024 02:30:00.000000000 UTC +00:00’
Can anyone suggest the best way to accomplish this?