Updates the password for the authenticated user via the alternative path. Requires verification of the current password and confirmation of the new password. Same validation and security rules apply as the main password update endpoint.
current_password string required
Current password for verification. Must match the user's existing password.
new_password string required
New password. Must meet complexity requirements: minimum 8 characters, uppercase and lowercase letters, at least one number, and at least one special character.
confirm_password string required
Confirmation of the new password. Must match new_password exactly.
Authorization string required
Bearer token for authentication. Format: Bearer <token>
A Password Update Response object containing confirmation of successful password update.
success boolean
Indicates if the password was updated successfully. Always true for successful updates.
message string
Success message confirming the password update.
- Bash
- Python
- JavaScript
curl -X PUT https://api.freddy.aitronos.com/v1/auth/users/password/update \
-H "Authorization: Bearer $FREDDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"current_password": "CurrentPassword123!",
"new_password": "NewSecurePassword456!",
"confirm_password": "NewSecurePassword456!"
}'