# 用控制台删除我的账户

**URL:** <https://meta.discourse.org/t/delete-my-account-with-the-console/82450>\
**Category:** Product Support\
**Created:** [2018 年3 月 7 日 21:04 UTC](https://meta.discourse.org/t/delete-my-account-with-the-console/82450 "2018-03-07T21:04:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
发布日期： [2018 年3 月 7 日 23:32 UTC](https://meta.discourse.org/t/delete-my-account-with-the-console/82450/2 "2018-03-07T23:32:06Z")

</div>

@neil mentioned this command in a message earlier today. I’d wait for him to confirm this does what you’d like, and you’ll likely need to modify the command:

```plaintext
UserDestroyer.new(neil).destroy(user, delete_posts: true)

```

---

_[View the full topic](https://meta.discourse.org/t/delete-my-account-with-the-console/82450)._
