code: def updatePassword(self,
                         user,
                         currentPassword,
                         newPassword):
          
          return self.__post('/api/updatePassword',
                             data={
                                 'user': user,
                                 'currentPassword': currentPassword,
                                 'newPassword': newPassword
                             })
docs: Change the password of a user.