Skip to main content
POST
Change password

Authorizations

Authorization
string
header
required

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

OK

message
string
required

A descriptive message confirming the success or failure of the change password operation.

success
boolean
required

Indicates whether the request was successful or failure (true for success, false for failure).