# How do I delete staff action logs?

**URL:** <https://meta.discourse.org/t/how-do-i-delete-staff-action-logs/241687>\
**Category:** Product Support\
**Created:** [October 12, 2022, 10:31am UTC](https://meta.discourse.org/t/how-do-i-delete-staff-action-logs/241687 "2022-10-12T10:31:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [October 12, 2022, 12:25pm UTC](https://meta.discourse.org/t/how-do-i-delete-staff-action-logs/241687/3 "2022-10-12T12:25:38Z")

</div>

But if an evil admin wanted to and had access to the rails console, they could find and destroy those records. Something like

```
   StaffActions.where("i was being evil").destroy_all

```

But the evil admin would need to look at the source to see more precisely how to do that.

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-delete-staff-action-logs/241687)._
