General Information
...
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
token | Query | YES | String | N/A | Generated by Urac and email to user after forgot password request is made. |
password | Body | YES | String | N/A | |
confirmation | Body | YES | String | N/A | same value as password |
Output
...
Valid Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result": true, "data": ... } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
> CURL -X POST http://127.0.0.1:4000/resetPassword?token=abcdef -d 'password=johnpassword&confirmation=johnpassword' |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result": true, "data": true } |