PATCH
/
users
/
{user_id}
/
password
Update User Password
curl --request PATCH \
  --url https://api.wacht.dev/users/{user_id}/password \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "current_password": "<string>",
  "new_password": "<string>"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

JWT Bearer token authentication using the Authorization header

Path Parameters

user_id
string
required

(i64 formatted as string)

Body

application/json

Response

Password updated successfully