Delete all hashed tokens


is there a possibility to delete all hashed tokens of all or a specific user which are created via the rest api?

Thanks and regards,

Hello, there is a button under the profile page to logout from every place, it will remove all the tokens except the current one


thank you. Sorry, my question was too imprecise.

I want to do this for a user whose credentials I do not know. We have tokens without the “when” attribute from an older Rocket.Chat version in the mongo db. So this tokens will not invalided.