synpurge

Utility to remove history of Matrix rooms using the purge_history API of Synapse.

Find it on PyPI.