RoutesUsersMeRequest email verification
/users/me/request-email-verification
Send a verification code to a new email address before changing it
AuthorizationBearer <token>
In: header
Request Body
application/json
email*string
New email address to verify
Match
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Format
emailResponse Body
application/json
curl -X POST "https://YOUR_ORG_ID.gatana.ai/api/v1/users/me/request-email-verification" \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]" }'{
"success": true
}