cURL
curl --request POST \ --url https://jamquest-dev.techboo.net/api/v1/user/update-password \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "current_password": "<string>", "new_password": "<string>", "new_password_confirmation": "<string>" } '
{ "status": "ok", "data": { "message": "Password updated successfully" } }
Updates the user’s password
Access token obtained during login or registration. Use this token in the Authorization header for authenticated requests.
The user's current password.
The user's new password.
Confirmation of the new password.
Password updated successfully
"ok"
Show child attributes
"Password updated successfully"