Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
ENDPOINT: Reset Lost password Via Temp password
Method: POST
SITE + /user/lost-password-reset?_format=json
{
"name": "DRUPALUSERNAME",
"temp_pass":"TEMP_PASSWORD_SENT_IN_EMAIL"
"new_pass":"NEW_PASS_WORD"
}
posting the temp password with new password to above endpoint will allow for the users password will be changed.