# Delete all posts by a user on entire site with API?

**URL:** <https://meta.discourse.org/t/delete-all-posts-by-a-user-on-entire-site-with-api/302332>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [April 4, 2024, 2:53am UTC](https://meta.discourse.org/t/delete-all-posts-by-a-user-on-entire-site-with-api/302332 "2024-04-04T02:53:10Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [April 4, 2024, 3:29pm UTC](https://meta.discourse.org/t/delete-all-posts-by-a-user-on-entire-site-with-api/302332/17 "2024-04-04T15:29:19Z")

</div>

![CleanShot 2024-04-04 at 09.26.15@2x](https://global.discourse-cdn.com/meta/original/4X/e/7/0/e709188a69c0e67fdeffbcc312f719f95bff1bee.png)

Looks like there is an endpoint to batch delete all posts for a user.

It’s triggered by this button on the users page from the admin dashboard

 ![CleanShot 2024-04-04 at 09.28.07@2x](https://global.discourse-cdn.com/meta/original/4X/d/1/4/d14fd3e9f3ee7b8622f56fcc22855130307a45e7.png)

---

_[View the full topic](https://meta.discourse.org/t/delete-all-posts-by-a-user-on-entire-site-with-api/302332)._
