Skip to main content

Change password

POST 

/v1/settings/change-password

Change password

The change password endpoint allows users to update their account password. It requires the user's current password, the new password, and a confirmation of the new password. This endpoint validates that the new password matches its confirmation and checks the current password against the stored hash. Upon successful validation, it updates the user's password in the database and logs the activity. Responses include success confirmation, errors for mismatched passwords, invalid credentials, or internal server issues.

Request

Body

required
    current_password stringrequired
    new_password stringrequired
    new_password_check stringrequired

Responses

Password changed

Loading...