# Unlist a topic using rails console

**URL:** <https://meta.discourse.org/t/unlist-a-topic-using-rails-console/56189>\
**Category:** Product Support\
**Tags:** unlisting\
**Created:** [2017 年 1 月 23 日午前 5:16 UTC](https://meta.discourse.org/t/unlist-a-topic-using-rails-console/56189 "2017-01-23T05:16:21Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![shahidh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shahidh/32/121310_2.png) [@shahidh](https://meta.discourse.org/u/shahidh)\
**Post date:** [2017 年 1 月 23 日午前 6:39 UTC](https://meta.discourse.org/t/unlist-a-topic-using-rails-console/56189/6 "2017-01-23T06:39:17Z")

</div>

`visible` it is.

```plaintext
topic.update_status("visible", false, Discourse.system_user)

```

Thanks guys

---

_[View the full topic](https://meta.discourse.org/t/unlist-a-topic-using-rails-console/56189)._
