General Information
...
Service | API | Method |
---|---|---|
urac | /forgotPassword | GET |
...
Workflow: %Link to Architecture Page%
Input
...
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
username | Query | YES | String | N/A | Username or Email |
Output
...
Valid Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result": true, "data": "..." } |
Invalid Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result":false, "errors":{ "codes":[406], "details":[ { "code":406, "message":"Invalid or token has expired." } ] } } |
Error Codes
Code | Description |
---|---|
406 | Invalid or token has expired. |
407 | Problem validating Request. Please try again. |
Example (CURL)
...
Request
Code Block | ||||
---|---|---|---|---|
| ||||
> CURL -X POST http://127.0.0.1:4000/forgotPassword?username=john |
Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result": true, "data": "819b0aed-edd8-47d5-ada0-9e5f93cb8248" } |