# Delete all hashed tokens

**URL:** <https://forums.rocket.chat/t/delete-all-hashed-tokens/5762>\
**Category:** Community Support\
**Created:** [February 6, 2020, 3:42pm UTC](https://forums.rocket.chat/t/delete-all-hashed-tokens/5762 "2020-02-06T15:42:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dahfn](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@dahfn](https://forums.rocket.chat/u/dahfn)\
**Post date:** [February 6, 2020, 3:42pm UTC](https://forums.rocket.chat/t/delete-all-hashed-tokens/5762/1 "2020-02-06T15:42:31Z")

</div>

Hello,

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,  
Daniel

---

<div class="post-metadata">

**Author:** ![lucia.guevgeozian](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/lucia.guevgeozian/32/447_2.png) [@lucia.guevgeozian](https://forums.rocket.chat/u/lucia.guevgeozian)\
**Post date:** [February 6, 2020, 4:06pm UTC](https://forums.rocket.chat/t/delete-all-hashed-tokens/5762/2 "2020-02-06T16:06:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dahfn](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@dahfn](https://forums.rocket.chat/u/dahfn)\
**Post date:** [February 10, 2020, 8:52am UTC](https://forums.rocket.chat/t/delete-all-hashed-tokens/5762/3 "2020-02-10T08:52:12Z")

</div>

Hey,

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.

Regards,  
Daniel
