# Is it possible to add last\_ip to the deny list?

**URL:** <https://community.auth0.com/t/is-it-possible-to-add-last-ip-to-the-deny-list/86905>\
**Category:** Get Help\
**Created:** [July 13, 2022, 2:27pm UTC](https://community.auth0.com/t/is-it-possible-to-add-last-ip-to-the-deny-list/86905 "2022-07-13T14:27:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bailey](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bailey/32/37138_2.png) [@bailey](https://community.auth0.com/u/bailey)\
**Post date:** [July 13, 2022, 2:27pm UTC](https://community.auth0.com/t/is-it-possible-to-add-last-ip-to-the-deny-list/86905/1 "2022-07-13T14:27:17Z")

</div>

Hi there!

We are trying to limit the amount of user data we store in the Auth0 Database. We have reviewed the docs and this FAQ around using the connections endpoint to add profile fields to the deny list, but are not having success:  
[https://auth0.com/docs/manage-users/user-accounts/user-profiles/user-profile-structure](https://auth0.com/docs/manage-users/user-accounts/user-profiles/user-profile-structure)  
[https://auth0.com/docs/secure/security-guidance/data-security/denylist](https://auth0.com/docs/secure/security-guidance/data-security/denylist)  
[https://community.auth0.com/t/how-do-i-prevent-user-profile-fields-from-being-stored-in-auth0/61683](https://community.auth0.com/t/how-do-i-prevent-user-profile-fields-from-being-stored-in-auth0/61683)

The `/api/v2/connections/{id}` PATCH has a status 200 and if we call `/api/v2/connections/`, we can see `last_ip` listed in the `non_persistent_attrs`, however we still see the `last_ip` address listed under the user details in the dashboard.

We preformed the steps outlined in this FAQ:  
[https://community.auth0.com/t/how-do-i-prevent-user-profile-fields-from-being-stored-in-auth0/61683](https://community.auth0.com/t/how-do-i-prevent-user-profile-fields-from-being-stored-in-auth0/61683)  
We have also confirmed the Management API is scoped for read:connections and update:connections

Is it possible to not persist the last IP?  
If so, are we missing a step?

---

<div class="post-metadata">

**Author:** ![spezz4](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/spezz4/32/47888_2.png) [@spezz4](https://community.auth0.com/u/spezz4)\
**Post date:** [June 29, 2023, 10:19am UTC](https://community.auth0.com/t/is-it-possible-to-add-last-ip-to-the-deny-list/86905/2 "2023-06-29T10:19:19Z")

</div>

I am experiencing the same problem, I have done several tests, but it turns out as if only some fields can be added to the deny list, like profile picture, but nothing changes for the last\_ip field.

Any update?

---

<div class="post-metadata">

**Author:** ![ale.vesga1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ale.vesga1/32/60921_2.png) [@ale.vesga1](https://community.auth0.com/u/ale.vesga1)\
**Post date:** [November 26, 2024, 1:58am UTC](https://community.auth0.com/t/is-it-possible-to-add-last-ip-to-the-deny-list/86905/4 "2024-11-26T01:58:46Z")

</div>

Our team is going back to answer frequently asked questions.

After further tests, I was able to reproduce the same observations as you. It looks like only some root attributes can be denied, not all. Looking at the User Profile Structure more closely the `last_ip` root attribute cannot be updated.

![image](https://global.discourse-cdn.com/auth0/original/3X/6/1/61b525068af6de1d1d0a85bc216c0626e9b4e1f6.png)

> **[User Profile Structure](https://auth0.com/docs/manage-users/user-accounts/user-profiles/user-profile-structure?_gl=1*a0inmf*_gcl_aw*R0NMLjE3MzE5NTM4MDMuQ2owS0NRaUE2T3U1QmhDckFSSXNBUG9UeHJDdFRnXzFMX2dweG1pR3Z6VC15MmZ0ZldMZXNjT0J0a3JvTlNWUUl6dGxSN2p2MTlFVlVFSWFBaGVHRUFMd193Y0I.*_gcl_au*MTk5NjMxNDQ1MS4xNzI2MDAzMjYw*_ga*MTI1MDczMzYxOC4xNzI2MDAzMjYw*_ga_QKMSDV5369*MTczMjU3OTkzMS4yMjMuMS4xNzMyNTgwODkxLjYwLjAuMA)**
>
> Lists the attributes that are available on the Auth0 user profile

Hope this helps!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 10, 2024, 1:58am UTC](https://community.auth0.com/t/is-it-possible-to-add-last-ip-to-the-deny-list/86905/5 "2024-12-10T01:58:49Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
