Note that to update the password or email for the user you must send currentPassword
property encrypted in SHA256 together in payload.
This is a companion discussion topic for the original entry at https://rocket.chat/docs/developer-guides/rest-api/users/updateownbasicinfo/