RoutesUsersMe
/users/me
Update the current user; require a browser session for password or email changes and a login within 12 hours except for a first password with email disabled and no SSO identity
AuthorizationBearer <token>
In: header
Request Body
application/json
email?string
New email address; requires emailVerificationCode
Match
^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Format
emailname?string
New display name
password?string
New password of at least 8 characters
Length
8 <= lengthemailVerificationCode?string
Six-digit code sent to the new email address
Length
6 <= length <= 6Response Body
application/json
curl -X PUT "https://YOUR_ORG_ID.s.gatana.ai/api/v1/users/me" \ -H "Content-Type: application/json" \ -d '{}'{
"success": true
}Last updated on