How to I update the additional userdata json

0 votes
I can see that I can save additional userdata when I create the user and I can see that I can retrieve the additional userdata but how do I update it? (I'm planning to use this for saving the user's personal game settings, if that's the correct use for it).


Also there is a 'public read' in which public can read but not write/update documents, but is there a 'private' ie. only the user (or admin) can update the document.
asked Nov 30, 2015 in App42 Cloud API-BaaS by dennis.asher (13 points)

1 Answer

0 votes

Hello Dennis,

Greetings for the day!!!

In order to answer your query of only the user (or admin) can update the document, you just need to revoke the access of Public wrtite from that document. After the success of above operation, only user and admin have access to update that document. Please have a look at this link for the code snippet. 

P.S In order to update the document, you can use any update methods of Storage service.

Let us know if you find any issue while integrating it.  


Himanshu Sharma

answered Nov 30, 2015 by hs00105 (2,005 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on