Gatana logoGatana Docs
RoutesUsersMeRequest email verification

/users/me/request-email-verification

Send a verification code to a new email address before changing it

POST
/users/me/request-email-verification
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,}$
Formatemail

Response 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
}