Start a new topic
Answered

Can I change username?

Hello


On using Kinvey's HTML API, can I change the USERNAME in the table USER? Based on documentation https://devcenter.kinvey.com/html5/guides/users#ActiveUser it seems to be possible to change the password. So is it also possible to change the username by the HTML API?


Regards

 


Best Answer

Tayger,


Yes, you can change/ update the 'username' in the user collection. You will have to use PUT method on your user object with updated attributes (in your scenario, it is 'username'). I have implemented this and confirm that it is working fine. Check following screenshot:



For HTML5 SDK, check this link.




Thanks,

Pranav

Kinvey









Excellent, thank you!

Answer

Tayger,


Yes, you can change/ update the 'username' in the user collection. You will have to use PUT method on your user object with updated attributes (in your scenario, it is 'username'). I have implemented this and confirm that it is working fine. Check following screenshot:



For HTML5 SDK, check this link.




Thanks,

Pranav

Kinvey








Login or Signup to post a comment