Removing users?

@spunjani Would you be able to provide a mongodb command to remove users?

My instance has a lot of student users. I’d like to delete those users, to eliminate clutter and make sure they can’t log back in and use resources when I don’t expect it.

1 Like

Hi @DanielAsarnow,

You can remove users in v0 like so:

In cryosparc install dir:

eval $(cryosparc env)
mongo localhost:$CRYOSPARC_MONGO_PORT/meteor
>> # now in db shell
db.users.deleteOne ({'emails.0.address':'<email address>'})