Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

General Information


ServiceAPIMethod
urac/forgotPasswordGET


Data Models:   UsersTokens

Workflow: Forgot Password Flow

Input


NameSourceMandatoryTypeSpecial FormatDescription
usernameQueryYESStringN/AUsername or Email

 

Output


Valid Response

Valid Response Sample
{
	"result": true,
	"data": "..."	
}

 

Invalid Response

Error Response Sample
{
    "result":false,
    "errors":{
        "codes":[406],
        "details":[
            {
                "code":406,
                "message":"Invalid or token has expired."
            }
        ]
    }
}



Error Codes


 

Code
Description
406Invalid or token has expired.
407Problem validating Request. Please try again.



Example (CURL)


Request

Calling Forgot Password API
 > CURL -X GET http://127.0.0.1:4000/forgotPassword?username=john

Response

Forgot Password API response
{
	"result": true,
	"data": "819b0aed-edd8-47d5-ada0-9e5f93cb8248"
}
  • No labels