Mattermost, Inc.

How can i delete the channel history?

Unable to find option to delete all messages in mattermost channel.
Desktop mattermost version 4.3.1
Server mattermost version 5.17.0

There is an option for Data Retention: https://docs.mattermost.com/administration/data-retention.html.

You can also upvote this existing feature request: https://mattermost.uservoice.com/forums/306457-general/suggestions/35238652-delete-messages-from-a-channel-to-clean-it