PATCH
/
v1
/
users
/
{id}
/
update-password
Update a User Password
curl --request PATCH \
  --url http://127.0.0.1:4001/v1/users/{id}/update-password \
  --header 'Content-Type: application/json' \
  --data '{
  "newPassword": "newpassword",
  "oldPassword": "oldpassword"
}'
This response does not have an example.

Path Parameters

id
string
required

The unique identifier of the user you want to retrieve.

Body

application/json

Information used to update a user's password.

newPassword
string
required

New user password.

oldPassword
string

Current user password.

Response

If the request is successful, you will receive an empty response.