auth

Change user password

Change password for authenticated user. Requires current password verification.

post/api/auth/change-password

Request body

current_passwordstring required

Current password for verification

new_passwordstring required

New password (min 8 characters)

Example request

{
  "current_password": "OldSecurePass123!",
  "new_password": "NewSecurePass123!"
}

Response

Successful Response

titlestring

Response title

messagestring

Response message

Example response

{
  "message": "Password cambiata con successo"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.