Modify user's metadata

How can I modify user’s metadata field (and remove some of this) that returned to client from fetch-account and 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.

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.