How can we help?

Searching:

0 results found

Users/UpdatePassword

POST /odata/users/updatePassword

Description

Enables a User to update his/her own password.

See the following for request and response details ‒

See Also

Request ‒ Users/UpdatePassword

Property Type Description Mandatory
oldPassword String The current password of the logged‑in User. Y
newPassword String The new password of the logged‑in User. This new password must be according to the syntax defined in the passwordPolicy property of the Application to which this User belongs. Y

Example JSON Users/UpdatePassword Request

curl -X POST \

  https://api.stg.axonize.com/odata/users/updatePassword \

  -H ‘Content-Type: application/json’ \

  -H ‘Authorization: Token’ \

  -d ‘{

  “oldPassword”:”someoldPassword!!”,”newPassword”:”somenewPassword!!”

}’

Response ‒ Users/UpdatePassword

All the same properties in the request are returned in the response.

 

Example JSON Users/UpdatePassword Response

Status 200 – OK