Submit password reset request
post
/iam/governance/selfservice/api/v1/unauthservice/passwordreset
Submits the password reset request based on template data. The challenge questions along with their respective answers should be send as part of the request to enable Oracle Identity Manager validate the challenge responses.
Request
Supported Media Types
- application/json
Attributes for resetting password
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 to reset the user password. The information shown here is against a pseudo system and serves as a prototype.
cURL Example
curl -H "Content-Type: application/json" -X POST -d @post.json https://pseudo.com/iam/governance/selfservice/api/v1/unauthservice/passwordreset
Example of POST Request Body
The following shows the contents of the request body in JSON format.
{ "userId": "FNAME@GMAIL.COM", "newPassword": "Welcome1", "challengeQuestions": [ { "name": "What is your mother's maiden name?", "value": "doe" }, { "name": "What is the name of your pet?", "value": "puppy" }, { "name": "What is the city of your birth?", "value": "new york" } ] }
Example of POST Response Body
The following example shows the contents of the response body in JSON format.
{ "user-self-register-details": { "status": "true" } }