Documentation Index
Fetch the complete documentation index at: https://docs.replyke.com/llms.txt
Use this file to discover all available pages before exploring further.
Allows an authenticated user to change their password by verifying the current password and setting a new one.
Body Parameters
The user’s current password for verification
The new password to set (will be securely hashed)
Response
Indicates whether the password was changed successfully
Error Responses
Missing Fields - 400 Bad Request
{
"error": "Email, password, and a new password are all required.",
"code": "auth/missing-fields"
}
User Not Found - 403 Forbidden
{
"error": "User not found.",
"code": "auth/no-user-found"
}
User Not Password Authenticated - 400 Bad Request
{
"error": "User is not authenticated with email and password.",
"code": "auth/not-password-authenticated"
}
Incorrect Password - 401 Unauthorized
{
"error": "Incorrect password.",
"code": "auth/wrong-password"
}
Server Error - 500 Internal Server Error
{
"error": "Internal server error.",
"code": "auth/server-error",
"details": "<Error message>"
}
Notes
- Only users authenticated via email and password can change their password.
- The current password must be correct.
- New password is hashed and stored securely.