Delete many users in Rocket Chat (never login)

  • Version of Rocket.Chat Server: 6.1.3
  • Operating System: Debian 11
  • Deployment Method: manual
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version: v14.21.3
  • MongoDB Version: 5.0.14
  • Proxy: nginx

Hello, I have many users create on Rocket but the last login is never. I want to delete this. When I doing API Request, I can’t see last login fields when the user is never connected at Rocket. I can’t filter with this.

In web admin interface, I can see this fields
image

I have read this documentation : Delete User - Rocket.Chat Developer

Do you have an idea ?

Thanks in avance