Update a user’s 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.
JWT Bearer token authentication using the Authorization header
(i64 formatted as string)
Password updated successfully
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.