auth.requestPasswordRecovery

Request recovery code of a 2FA password, only for accounts with a recovery email configured.

 Method schema is available as of layer 27. Switch ยป

Parameters

This constructor does not require any parameters.

Result

auth.PasswordRecovery

Only users can use this method

Possible errors

Code Type Description
400 PASSWORD_EMPTY The provided password is empty.
400 PASSWORD_RECOVERY_NA No email was set, can't recover password via email.

Related pages

Two-factor authentication

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