<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 Update Existing Enrolled SMS Phone Number for a Single User
Multi-Factor Authentication
Okta Identity Engine
Overview

This article explains how to update an existing enrolled SMS phone number for a single user.

Applies To
  • Multi-Factor Authentication (MFA)
  • SMS
  • API
  • Okta Identity Engine (OIE)
Solution

To update an existing phone number, use SMS factor API Calls. Please follow the steps below:

  1. Get the Factors list from the user using GET FACTOR API call > Extract the SMS FactorID.
  2. Delete the Existing SMS FACTOR by using DELETE FACTOR > FactorId has to be mentioned in the URL.
  3. Then use the POST: {{url}}/api/v1/users/{{userId}}/factors?updatePhone=true to update the SMS factor with new phone number.

Request body:

{
"factorType": "sms",
"provider": "OKTA",
"profile": {
"phoneNumber": "+XXXXXX"
}
}
 

Related References 

Recommended content

Loading
How to Update Existing Enrolled SMS Phone Number for a Single User