Skip to main content
POST
Change Password
Changes the password for the currently authenticated user. The user must provide their current password for verification. Requires a valid access token in the Authorization header.
This endpoint is only available to users who signed up with email and password. OAuth-only users who have no password will receive a 400 error.

Body Parameters

password
string
required
The user’s current password.
newPassword
string
required
The new password. Must be different from the current password.

Response

success
boolean
true on success.
message
string
Confirmation message: "Password updated successfully."

Error Responses

See Also