# Delete user’s posts after anonymization?

**URL:** https://meta.discourse.org/t/delete-user-s-posts-after-anonymization/280895
**Category:** Support
**Created:** [October 3, 2023, 1:36pm UTC](https://meta.discourse.org/t/delete-user-s-posts-after-anonymization/280895 "2023-10-03T13:36:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Wingtip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wingtip/32/102039_2.png) [@Wingtip](https://meta.discourse.org/u/Wingtip)
#### Post date: [October 3, 2023, 1:36pm UTC](https://meta.discourse.org/t/delete-user-s-posts-after-anonymization/280895/1 "2023-10-03T13:36:38Z")

</div>

We want to anonymize a user so quotes of his posts won’t show his name, delete all posts by that user, and then delete the user entirely.

After we anonymize his posts, will the profile still exist such that we can nuke his posts and proceed from there? Are there any best practices for this?

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [October 3, 2023, 2:15pm UTC](https://meta.discourse.org/t/delete-user-s-posts-after-anonymization/280895/2 "2023-10-03T14:15:37Z")

</div>

> [@Wingtip](#):
>
> so quotes of his posts won’t show his name

Just in case, if you have disabled `prioritize_username_in_ux` and enabled `display_name_on_posts`, I believe the full name in quotes won’t be replaced with “anonXXX”.

---

<div class="post-metadata">

### Author: ![Wingtip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wingtip/32/102039_2.png) [@Wingtip](https://meta.discourse.org/u/Wingtip)
#### Post date: [October 3, 2023, 3:31pm UTC](https://meta.discourse.org/t/delete-user-s-posts-after-anonymization/280895/3 "2023-10-03T15:31:17Z")

</div>

Thank you! Neither of those settings has been changed. So anything else we need to watch out for? This sequence will expunge the user?

1. anonymize user
2. delete all of the user’s posts
3. delete the user
4. rebake posts, I assume? To fix quoted names.

I know we can’t remove all the quotes themselves without editing thousands of posts, so not going to attempt that unless there’s an easy way to do it.
