def update_user(self, email, first_name, last_name, password, metadata={}):
        """
        Update an existing user

        :type email: str
        :param email: User's email

        :type first_name: str
        :param first_name: User's first name

        :type last_name: str
        :param last_name: User's last name

        :type password: str
        :param password: User's password

        :type metadata: dict
        :param metadata: User metadata

        :rtype: dict
        :return: a dictionary containing user information
        """
        data = {
            'email': email,
            'firstName': first_name,
            'lastName': last_name,
            'newPassword': password,
            'metadata': metadata,
        }
        response = self.post('updateUser', data)
        return self._handle_empty(email, response)
def update_user ( self , email , first_name , last_name , password , metadata = { } ) : data = { 'email' : email , 'firstName' : first_name , 'lastName' : last_name , 'newPassword' : password , 'metadata' : metadata , } response = self . post ( 'updateUser' , data ) return self . _handle_empty ( email , response )
Update an existing user

        :type email: str
        :param email: User's email

        :type first_name: str
        :param first_name: User's first name

        :type last_name: str
        :param last_name: User's last name

        :type password: str
        :param password: User's password

        :type metadata: dict
        :param metadata: User metadata

        :rtype: dict
        :return: a dictionary containing user information