account.verifyEmail

Verify an email address.

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.verifyEmail#ecba39db email:string code:string = Bool;

Parameters

Name Type Description
purpose EmailVerifyPurpose Verification purpose
verification EmailVerification Email verification code or token

Result

account.EmailVerified

Possible errors

Code Type Description
400 EMAIL_INVALID The specified email is invalid.
400 EMAIL_NOT_ALLOWED The specified email cannot be used to complete the operation.
400 EMAIL_VERIFY_EXPIRED The verification email has expired.
400 PHONE_NUMBER_INVALID The phone number is invalid.