# How can I delete or undelete topics?

**URL:** <https://meta.discourse.org/t/how-can-i-delete-or-undelete-topics/41700>\
**Category:** Product Support\
**Created:** [29 Marzo, 2016 08:25 UTC](https://meta.discourse.org/t/how-can-i-delete-or-undelete-topics/41700 "2016-03-29T08:25:18Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [29 Marzo, 2016 13:07 UTC](https://meta.discourse.org/t/how-can-i-delete-or-undelete-topics/41700/9 "2016-03-29T13:07:50Z")

</div>

This is risky, and I’d advise you wait until a Discourse Team member can provide better feedback, but something like this should work from the Rails console, so long as you know the topic ids you want to delete.

```plaintext
Topic.find(topic_id).destroy

```

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-delete-or-undelete-topics/41700)._
