Update User Email
Learn about the API operaton to update the email address of a user.
Request Type | PUT |
URL | /oauth/users/{userID}/email |
Parameters | JSON object with new email: { "email" "new.email@domain.com"} |
Access | Access ROLE_ADMIN_TENANT or ROLE_USER
and the same user |
Example request
curl -k -H
"Accept: application/json" -H
"Content-Type: application/json
" -H
"Authorization: Bearer 5925f793-c092-43ec-b3a3-65ce8e194440" -X
PUT -d "email=lee.eybe_new@jmg.com" http://localhost:8080/oauth/users/lee_eybe/email
Example response
{
"email" : "lee.eybe_new@jmg.com"
}