# Deleting old sessions

**URL:** <https://community.hivemq.com/t/deleting-old-sessions/3003>\
**Category:** Uncategorized\
**Created:** [June 21, 2024, 8:02am UTC](https://community.hivemq.com/t/deleting-old-sessions/3003 "2024-06-21T08:02:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manuel](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@Manuel](https://community.hivemq.com/u/Manuel)\
**Post date:** [June 21, 2024, 8:02am UTC](https://community.hivemq.com/t/deleting-old-sessions/3003/1 "2024-06-21T08:02:51Z")

</div>

Hi there,

how can i delete old/closed sessions from dashboard on a massive scale (not one by one)? We have hundreds of old sessions in the view which is pretty annoying. We are using Cloud starter edition.

Thanks,  
Manuel

---

<div class="post-metadata">

**Author:** ![zingiber](https://avatars.discourse-cdn.com/v4/letter/z/ce73a5/32.png) [@zingiber](https://community.hivemq.com/u/zingiber)\
**Post date:** [June 24, 2024, 9:27am UTC](https://community.hivemq.com/t/deleting-old-sessions/3003/2 "2024-06-24T09:27:22Z")

</div>

Hello Manuel,

I’m afraid there’s currently no option to do so in bulk. If you have the login credentials and clientIDs available, one way would be to use a script to go through the list and connect with clean session set.  
I like to use HiveMQ’s [MQTT CLI](https://hivemq.github.io/mqtt-cli/) for such tasks.

Kind regards,  
Finn

---

<div class="post-metadata">

**Author:** ![Manuel](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@Manuel](https://community.hivemq.com/u/Manuel)\
**Post date:** [June 24, 2024, 3:13pm UTC](https://community.hivemq.com/t/deleting-old-sessions/3003/3 "2024-06-24T15:13:07Z")

</div>

OK, thanks. I finally deleted the whole cluster and started over (without any persitant connections, which caused the trouble in the first place)  
Manuel
