<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
System Status
Announcements
Announcements
Search
Search
Select Language
0D51Y000091ISWtSAOOkta Classic EngineMulti-Factor AuthenticationAnswered2024-04-30T09:23:38.000Z2020-07-20T18:16:10.000Z2020-07-28T14:14:11.000Z

AnnaL.02597 (Customer) asked a question.

Update Security Question (MFA)

Hi all.

 

I am trying to change Security Question (Multi-Factor Authentication) via API. I didn't found any endpoint for updating security factor. When I try to enroll security question factor via endpoint https://developer.okta.com/docs/reference/api/factors/*enroll-okta-security-question-factor, I got next error

{

    "errorCode": "E0000001",

    "errorSummary": "Api validation failed: factorEnrollRequest",

    "errorLink": "E0000001",

    "errorId": "oaepTdoiJ7fSEOsrgZwiJ_SHA",

    "errorCauses": [

        {

            "errorSummary": "A factor of this type is already set up."

        }

    ]

}

 

In the forum and okta docs I found, that for update factor I need to reset old one, and then enroll new one. But in case if enrollment of new factor was not successful, I would like to leave old security question.

The ideal flow for me is:

  1. Reset old security question
  2. Check that new security question and answer is ok
  3. If ok -> enroll new security question and answer
  4. If not ok -> leave old security question

 

But I didn't find any endpoint for second step. Is it possible?

 

Thank you in advance!

 


This question is closed.
Loading
Update Security Question (MFA)
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply