Step 2: Valdiate the Security Questions Enrollment

POST {{HOST}}/admin/v1/MyAuthenticationFactorValidator

This step validates the enrollment in the Security Questions factor.

In the request, you must include the questions and answers registered in Step 1.

Request Body

{"schemas"=>["urn:ietf:params:scim:schemas:oracle:idcs:AuthenticationFactorValidator"], "authFactor"=>"SECURITY_QUESTIONS", "scenario"=>"ENROLLMENT", "securityQuestions"=>[{"id"=>"FavoriteMovie", "answer"=>"Harry Potter"}, {"id"=>"FavoriteFood", "answer"=>"Chinese"}, {"id"=>"FirstPet", "answer"=>"Bouncer"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring

RESPONSES

status: Created

{"schemas":["urn:ietf:params:scim:schemas:oracle:idcs:AuthenticationFactorValidator"],"authFactor":"SECURITY_QUESTIONS","scenario":"ENROLLMENT","securityQuestions":[{"id":"FavoriteMovie","answer":"Harry Potter"},{"id":"FavoriteFood","answer":"Chinese"},{"id":"FirstPet","answer":"Bouncer"}],"meta":{"resourceType":"MyAuthenticationFactorValidator","location":"https://example.identitycloud.com/admin/v1/MyAuthenticationFactorValidator"},"userName":"jbloggs","status":"SUCCESS","mfaStatus":"ENROLLED","mfaPreferredDevice":"2b27b8c072d64b899d41c8470acea32a","mfaPreferredAuthenticationFactor":"PUSH","securityQuestionsPresent":true,"devicesCount":3,"emailFactorEnrolled":true}