# Permanently delete direct message channels

**URL:** <https://forum.mattermost.com/t/permanently-delete-direct-message-channels/18871>\
**Category:** Uncategorized\
**Created:** [June 22, 2024, 11:08am UTC](https://forum.mattermost.com/t/permanently-delete-direct-message-channels/18871 "2024-06-22T11:08:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zap51](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/zap51/32/7966_2.png) [@zap51](https://forum.mattermost.com/u/zap51)\
**Post date:** [June 22, 2024, 11:08am UTC](https://forum.mattermost.com/t/permanently-delete-direct-message-channels/18871/1 "2024-06-22T11:08:29Z")

</div>

Hello Devs & Community,  
I’ve been searching ways to permanently delete one direct message channel. I see that `$ mmctl channel delete channel_id` gives `error: Unable to delete direct or group message channels`. How do I safely delete from the DB (at this moment)? My instance uses MySQL.

[This](https://github.com/mattermost/mattermost/pull/26993) should be one good addon, but it is yet to be merged.

Regards,  
Jayanth
