POST /api/auth/reset-password
endpoint is used to reset the password for a user account.resetCode
(string): The reset code sent to the user's email for verification.password
(string): The new password to be set for the user account.confirmPassword
(string): The new password to be confirmed for the user account.status
(string): Indicates the status of the password reset operation.message
(string): Provides additional information about the password reset process.curl --location --request POST '/api/auth/reset-password' \
--header 'Content-Type: application/json' \
--data-raw '{
"resetCode": "ce4eccb62c19364145f51bd0357c02e7dcd46fd89f41d340e201074f646ac454",
"email": "abdullatif.jarkas1@gmail.com",
"password": "123123123",
"confirmPassword": "123123123"
}'
{
"status": "success",
"message": "Password successfully updated."
}