Accelerate the Value of Data

Update User Password

Table 1. Endpoint Details
Request Type PUT
URL /oauth/users/{userID}/password
Parameters JSON object with new password: {"password" "new_secure_password"}
Access Access ROLE_ADMIN or ROLE_USER and the same user

Request

curl -k -H
"Accept: application/json" -H
"Content-Type: application/json" -H
"Authorization: Bearer 5925f793-c092-43ec-b3a3-65ce8e194440" -X
PUT -d
'{
    "password" : "new_secure_password"
}'
http://localhost:8080/oauth/users/lee_eybe/password

Response

{"status": "success"}