account.verifyEmail

Verify an email address.

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

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.