Skip to navigation

Send OTP to new email for change

Sends OTP to a new email address for email change verification. Requires Authorization header.

Request

This endpoint expects an object.
emailstringRequiredformat: "email"
Email address for the user

Response

OTP sent successfully
successbooleanOptional
messagestringOptional
expiresIndoubleOptional
OTP expiration time in seconds
otpstringOptional

OTP code (only included in development mode for testing purposes)

Errors

400
Bad Request Error
429
Too Many Requests Error