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
Body ()
Attributes for recovering user login. Email is a mandatory attribute.
Root Schema : ForgotUserNameRequest
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful
Headers
Body ()
Root Schema : ForgotUserNameResponse
Type: object
Show Source

404 Response

Resource not found

500 Response

Internal Server Error

Default Response

Unexpected error
Back to Top

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"
}
Back to Top