def update_user_login(self, login, account_id=None):
if account_id is None:<EOL><INDENT>account_id = self._canvas_account_id<EOL>if account_id is None:<EOL><INDENT>raise MissingAccountID<EOL><DEDENT><DEDENT>login_id = login.login_id<EOL>url = ACCOUNTS_API.format(account_id) + "<STR_LIT>".format(login_id)<EOL>data = self._put_resource(url, login.put_data())<EOL>return Login(data=data)<EOL>
Update an existing login for a user in the given account.

https://canvas.instructure.com/doc/api/logins.html#method.pseudonyms.update