How to Delete an Okta Factor Using Postman API
Last Updated:
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.
- Install and configure Postman.
-
Import the Postman Users and Factors Collection.
-
Obtain the
${userId}as documented in Retrieve a user. -
Obtain the
${factorId}as documented in List all enrolled factors.
-
Delete the factor associated with the specified user as documented in Unenroll a factor.
Okta rejects the deletion call if the factor is not active or pending verification.
