POST
/
auth
/
change-password

Authorizations

Authorization
string
headerrequired

Access token

Body

application/json
old_password
string
required

The 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
required

The 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
required

A 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.