Skip to content
Last updated

PUT /v1/auth/password/update - Update the authenticated user's password after verifying the current password. This endpoint requires the current password and enforces password strength requirements.

PUThttps://api.aitronos.com/v1/auth/password/update

Updates the password for the authenticated user. Requires verification of the current password and confirmation of the new password. All other device sessions are revoked while keeping the current session active. Password changes are logged for security auditing.

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 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.