
ElioT.93871 (Customer) asked a question.
I want to trigger a webhook from the Jira Workflow to automatically reset MFA (multi factor reset = Okta Verify, Google Auth). Workflow -> JIRA - new issue trigger or JSD - new request, Do I need to create Delete Factor first? https://developer.okta.com/docs/reference/api/factors/*reset-factor. and after ??

Hi @ElioT.93871 (Customer),
Thank you for posting on the Okta community page!
I have tried to access the article you have provided but unfortunately it re-directs to a 404 page not found message, but I have done some research on my end and managed to find the bellow article about how to reset the MFA through API's:
Based on the above KB article, you have to perform a delete factor in order to reset the MFA of an account since after this is done, at the next login, the user will have to go through the enrolment process again.
If you want to enroll the user again through APIs after your perform the reset of MFA, you can follow the instructions found on the section "Factor LifeCycle Operations" from the documentation provided above.
I hope the above information is useful!
Hi Flaviu,
If I understand correctly I should first execute:
1- Reset Factor (DELETE
/ api / v1 / users / $ {userId} / factors / $ {factorId}),
2 - after Enroll Factor (POST
/ api / v1 / users / $ {userId} / factors)
3- and finally Activate Factor (POST
/ api / v1 / users / $ {userId} / factors / $ {factorId} / lifecycle / activate).
Is it right? How do I find the factorId parameter? But what's the difference between doing delete and reset factor?
Thank you for your time
Hi @flaviu.vrinceanu1.5628408972654734E12 (Customer Success Service Delivery) ,
Thank you so much for your information. I will try