I wonder if there is a way to send a reset password request via an API call? Or perhaps just reset the password via api (then my code will email the user).
For example, I can do this PATCH request but it doesnt sets the password:
The first endpoint (/user/v1/account/password_reset/) is a GET only for some useless reason. It says there
“HTTP end-point for GETting a description of the password reset form.”
The 2nd endpoint (/user/v1/account/password_reset/token/validate/) is to validate token. There isnt one to reset the password or generate a reset password request.
You are right about this but this will give you the form field data which require to submit for the password reset request.
I have tried this one in the Postman and have received Password reset email on the success of it. Please check your logs for this request and verify what is going wrong. One more thing is that you should pass the email in this POST request.
I have tried this one in the Postman and have received Password reset email on the success of it. Please check your logs for this request and verify what is going wrong. One more thing is that you should pass the email in this POST request.
How did you pass the email param? JSON? or form-data?