# Why can't non-developers admins reset the IP field of anonymized accounts?

**URL:** <https://meta.discourse.org/t/why-cant-non-developers-admins-reset-the-ip-field-of-anonymized-accounts/276050>\
**Category:** Product Support\
**Tags:** anonymization\
**Created:** [23 juli 2020 om 14:28 UTC](https://meta.discourse.org/t/why-cant-non-developers-admins-reset-the-ip-field-of-anonymized-accounts/276050 "2020-07-23T14:28:01Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Newuser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/newuser/32/184725_2.png) [@Newuser](https://meta.discourse.org/u/Newuser)\
**Post date:** [23 juli 2020 om 14:28 UTC](https://meta.discourse.org/t/why-cant-non-developers-admins-reset-the-ip-field-of-anonymized-accounts/276050/1 "2020-07-23T14:28:01Z")

</div>

> [@Anonymizing Users in Discourse](https://meta.discourse.org/t/anonymizing-users-in-discourse/86929/1):
>
> Discourse will retain the user’s IP addresses in our logs associated with the anonymous user. However, there is a new mechanism to clear those out too available to developers.

Why is this only available for developers? If the option is there, why not make a button for it?

I tried this:

```plaintext
cd /var/discourse
./launcher enter app
rails c
```

And then

```plaintext
user = User.find_by_username("username_of_the_user_here")
UserAnonymizer.make_anonymous(user, nil, anonymize_ip => '0.0.0.0')
user.save!
```

But it doesn’t do anything. Can someone help me? I am just an admin who wants to comply with the GDPR and anonymize the IP-addresses of a user who asked me to.  
But I can’t find any documentation on how to do this.

---

_[View the full topic](https://meta.discourse.org/t/why-cant-non-developers-admins-reset-the-ip-field-of-anonymized-accounts/276050)._
