Step 1: Retrieve password recovery options to get masked email value
POST {{stripeUrl}}/admin/v1/MePasswordRecoveryOptionRetriever
Use the OAuth Client App access token with the following approles assigned:
Identity Domain Administrator Me Verify Email Forgot Password
The masked email option is found in the options section of the response:
{
options
: [
{
type
: email
,
value
: ****@example.com
}
],
Request Body
{"userName"=>"{{userName}}", "schemas"=>["urn:ietf:params:scim:schemas:oracle:idcs:MePasswordRecoveryOptionRetriever"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Date | string | ||
Content-Type | string | ||
x-content-sha256 | string |
RESPONSES
status: Created
{"options":[{"type":"sms"},{"type":"email","value":"John.Doe@oracle.com"},{"type":"secquestions"}],"schemas":["urn:ietf:params:scim:schemas:oracle:idcs:MePasswordRecoveryOptionRetriever"],"meta":{"resourceType":"MePasswordRecoveryOptionRetriever","location":"https://bravoe.identity.internal.oracle.com/admin/v1/MePasswordRecoveryOptionRetriever"}}