Skip to content
Last updated

🔨 In Development — This section is still being developed and may change.
**PUT** `/v1/auth/users/password/update` - Alternative endpoint for updating user passwords. This endpoint provides compatibility with different client implementations and follows the same validation and security rules as the main password update endpoint.
PUThttps://api.freddy.aitronos.com/v1/auth/users/password/update

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.

Request Body

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.

Headers

Authorization string required

Bearer token for authentication. Format: Bearer <token>


Returns

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
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!"
}'