Skip to main content

Update User Password

API URL: PUT https://userapi-demo.s2f.projectx.com/User/password

API Reference: /User/password

Description


Changes a User's password given the email and the username.

Parameters


NameTypeDescriptionRequiredNullable
emailstringThe User's email.Requiredfalse
userNamestringThe User's username.Requiredfalse
passwordstringThe new password.Requiredfalse

Example Usage


Example Request

  curl -X 'PUT' \
'https://userapi-demo.s2f.projectx.com/User/password' \
-H 'accept: text/plain' \
-H 'Content-Type: application/json' \
-d '{
"email": "jdoe@projectx.com",
"userName": "jdoe",
"password": "tmpPassword"
}'

Example Response

true