# Set profile attributes to NULL with partial update

**URL:** <https://devforum.okta.com/t/set-profile-attributes-to-null-with-partial-update/9376>\
**Category:** Questions\
**Created:** [May 14, 2020, 9:49am UTC](https://devforum.okta.com/t/set-profile-attributes-to-null-with-partial-update/9376 "2020-05-14T09:49:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fancyweb](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/fancyweb/32/1853_2.png) [@fancyweb](https://devforum.okta.com/u/fancyweb)\
**Post date:** [May 14, 2020, 9:49am UTC](https://devforum.okta.com/t/set-profile-attributes-to-null-with-partial-update/9376/1 "2020-05-14T09:49:52Z")

</div>

Hello, when I do a partial update ([https://developer.okta.com/docs/reference/api/users/#update-profile-with-id](https://developer.okta.com/docs/reference/api/users/#update-profile-with-id)) and set a profile attribute to NULL, the attribute is deleted. Is there a way to keep it and set it to NULL?

I’m expecting it to be NULL because when I create an user and send NULL profile attributes, they are NULL on the user profile. So the two behaviors are not synchronized.

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [January 24, 2024, 7:17pm UTC](https://devforum.okta.com/t/set-profile-attributes-to-null-with-partial-update/9376/2 "2024-01-24T19:17:10Z")

</div>


