Possible to change users' passwords via mongodb?

Is there a way for me to change the password of users directly in mongodb? Thanks

Yes, you can: https://docs.rocket.chat/guides/administration/misc.-admin-guides/restoring-an-admin

But you probably shouldn’t do it on a regular basis. For that, I would suggest using our REST API:

1 Like