Recover Forgotten Username
post
/iam/governance/selfservice/api/v1/unauthservice/forgotusername
Allows user to recover the user name based on registered email address.
Request
Supported Media Types
- application/json
Attributes for recovering user login. Email is a mandatory attribute.
Response
Supported Media Types
- application/json
200 Response
Successful
Headers
-
ResponseTime: string
Captures the time in milliseconds taken for processing the request.
404 Response
Resource not found
500 Response
Internal Server Error
Default Response
Unexpected error
Examples
This demonstrates the ability for the retrieval of a user account name. The information shown here is against a pseudo system and serves as a prototype.
cURL Example
curl -H "Content-Type: application/json" -H "X-Requested-By: <anyvalue>" -X POST -d @post.json https://pseudo.com/iam/governance/selfservice/api/v1/unauthservice/forgotusername
Example of POST Request Body
The following example shows the contents of the request body in JSON format.
{ "email": "sample@sample.com" }
Example of POST Response Body
The following example shows the contents of the response body in JSON format.
{ "status":"Email sent to registered emailID" }