Login & Register
Change password
POST
/
auth
/
change-password
Authorizations
Authorization
string
headerrequiredAccess token
Body
application/json
old_password
string
requiredThe old password associated with the user's account. This parameter is crucial for verifying the user's identity before allowing a password change.
new_password
string
requiredThe new password that the user intends to set for their account. This parameter is necessary for updating the password to enhance account security.
confirm_password
string
requiredA confirmation of the new password.
Response
200 - application/json
message
string
A descriptive message confirming the success or failure of the change password operation.
success
boolean
Indicates whether the request was successful or failure (true for success, false for failure).
content
object
An object containing the response content.