Update MFA phone numbers

Last Updated Aug 28, 2024

Overview

How can the user’s phone number be changed if an incorrect number is input when enrolling in MFA?

Solution

Use the Update all authentication methods by replacing them with the given ones Management API endpoint by passing the user ID in the path with the below body:

PUT  /api/v2/users/{id}/authentication-methods
[
  {
    "type": "phone",
    "preferred_authentication_method": "sms",
    "phone_number": "+XXXXXXXXXX"
  }
]