<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
How to Reset / Configure a User's Security Question via Postman Okta API
Lifecycle Management
Okta Classic Engine
Multi-Factor Authentication
Okta Identity Engine
Overview

This article details how to reset or configure a user's security question via the Postman Okta API.

Applies To
  • Postman
  • Users Collection
  • Security Question (Recovery Question)
  • Okta Classic Engine
  • Okta Identity Engine (OIE)
Solution

Please follow the steps below: 

  1. Install and configure Postman.
  2. Import the Postman Users Collection.

  3. Obtain the ${userId} using the login:

    1. Fetches a specific user when knowing the user's login.

    2. GET/api/v1/users/isaac.brock@example.com.

    3. Users API - Get User with Login.

  4. Set recovery credential (configure recovery question):

    1. Users > Credential Operations.

    2. PUT {{url}}/api/v1/users/{{userId}}.

    3. Replace {{userId}} with the userId obtained in step 3 above.

    4. Modify the Body with the new question and answer.

      Postman  

    5. Click on Send.

Loading
How to Reset / Configure a User's Security Question via Postman Okta API