Backend API
Update a user’s password
cURL
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>" } '
{ "error": "Bad request" }
JWT Bearer token authentication using the Authorization header
(i64 formatted as string)
8
Password updated successfully