def edit(self, **kwargs):
response = self._requester.request(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>'.format(self.account_id, self.id),<EOL>_kwargs=combine_kwargs(**kwargs)<EOL>)<EOL>return Login(self._requester, response.json())<EOL>
Update an existing login for a user in the given account.

:calls: `PUT /api/v1/accounts/:account_id/logins/:id \
<https://canvas.instructure.com/doc/api/logins.html#method.pseudonyms.update>`_

:rtype: :class:`canvasapi.login.Login`