reset_password
Description
You can use this to reset the user's password if it was lost or if the user needs to change their password.
On your site if the user clicks the Lost Password link you would send them an email so they can verify the email and when they click the link you present them with a form to reset the password at your end then make the API call to reset the password.
Parameters
username new_password
Request
curl -X POST \ -H "Authorization: Token d37fa8c4e008fec158070b1b4aea5f0db3d6a06e" \ -H "Content-Type: application/json" \ -d '{"username":"webuser.api","new_password":"NeW.Pa55W0rD"}' \ -k https://your.domain.com/api/users/reset_password
Response
{"status":"success","results":[]}