Updates an account to use a new account id, while maintaining the history.

Note: Either newAccountId or newUserInfo is required, but not both.

Language