# How to mass remove PMs?

**URL:** https://meta.discourse.org/t/how-to-mass-remove-pms/303158
**Category:** Support
**Tags:** automation, sql-query
**Created:** [April 10, 2024, 12:08am UTC](https://meta.discourse.org/t/how-to-mass-remove-pms/303158 "2024-04-10T00:08:24Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [April 10, 2024, 3:20am UTC](https://meta.discourse.org/t/how-to-mass-remove-pms/303158/7 "2024-04-10T03:20:47Z")

</div>

There should be adult hints in [Administrative Bulk Operations](https://meta.discourse.org/t/administrative-bulk-operations/118349). If you can find an example with the PostDestroyer and one that selects topics by matching the title, I think. That’s assuming you’re self hosted and can get to rails.

---

_[View the full topic](https://meta.discourse.org/t/how-to-mass-remove-pms/303158)._
