account.resetPassword

Initiate a 2FA password reset: can only be used if the user is already logged-in, see here for more info »

 Method schema is available as of layer 131. Switch »

Parameters

This constructor does not require any parameters.

Result

account.ResetPasswordResult

Possible errors

Code Type Description
400 PASSWORD_EMPTY The provided password is empty.

Related pages

Two-factor authentication

How to login to a user's account if they have enabled 2FA, how to change password.