# Modify user's metadata

**URL:** <https://forum.heroiclabs.com/t/modify-users-metadata/524>\
**Category:** Local Setup\
**Created:** [February 23, 2020, 10:21am UTC](https://forum.heroiclabs.com/t/modify-users-metadata/524 "2020-02-23T10:21:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nkadd](https://avatars.discourse-cdn.com/v4/letter/n/13edae/32.png) [@nkadd](https://forum.heroiclabs.com/u/nkadd)\
**Post date:** [February 23, 2020, 10:21am UTC](https://forum.heroiclabs.com/t/modify-users-metadata/524/1 "2020-02-23T10:21:26Z")

</div>

How can I modify user’s metadata field (and remove some of this) that returned to client from [fetch-account](https://heroiclabs.com/docs/user-accounts/#fetch-account) and [fetch-users](https://heroiclabs.com/docs/user-accounts/#fetch-users).  
I have some private data about users that I don’t want anyone can see them.

> After hooks cannot change the response payload being sent back to the client, and errors do not prevent the response from being sent.

---

<div class="post-metadata">

**Author:** ![novabyte](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/novabyte/32/1324_2.png) [@novabyte](https://forum.heroiclabs.com/u/novabyte)\
**Post date:** [February 23, 2020, 9:44pm UTC](https://forum.heroiclabs.com/t/modify-users-metadata/524/2 "2020-02-23T21:44:41Z")

</div>

> I have some private data about users that I don’t want anyone can see them.

@nkadd Normally you wouldn’t use the user metadata of the user object to store private properties that should not be seen as read-only by other users. In this case just use a storage object for the player and give it the private read and private write permissions.

Hope that helps.
