<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 Delete an Okta Factor Using Postman API

Okta Classic Engine
Multi-Factor Authentication

Overview

Administrators must sometimes delete a factor for a specific user, such as removing the Okta Verify one-time password (OTP) factor. Delete a factor by utilizing the Postman API and the Users and Factors collections.

Applies To

  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • Postman
  • Factors Collection
  • Users Collection

Solution

How do administrators delete a factor using the Postman API?

Install Postman, import the required collections, obtain the user and factor identifiers, and execute the deletion call.

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

  3. Obtain the ${userId} as documented in Retrieve a user.

    GET userID  
  4. Obtain the ${factorId} as documented in List all enrolled factors. 

    GET factorID   
    FactorID 
  1. Delete the factor associated with the specified user as documented in Unenroll a factor.

Delete factor

Okta rejects the deletion call if the factor is not active or pending verification.

Loading
How to Delete an Okta Factor Using Postman API | Okta Support