API to reset password for a registered user.
URL : /api/user/resetPassword
Method : POST
Auth required : NO
Headers : application/json
Data constraints
{
"token": "[valid token sent to email]"
}
Code : 201 CREATED
Condition : If provided with incorrect token.
Code : 404 NOT FOUND