# How to Change SMS Phone Number?

**URL:** <https://devforum.okta.com/t/how-to-change-sms-phone-number/3579>\
**Category:** Questions\
**Created:** [December 7, 2018, 4:03am UTC](https://devforum.okta.com/t/how-to-change-sms-phone-number/3579 "2018-12-07T04:03:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ki6FHX](https://avatars.discourse-cdn.com/v4/letter/k/22d042/32.png) [@Ki6FHX](https://devforum.okta.com/u/Ki6FHX)\
**Post date:** [December 7, 2018, 4:03am UTC](https://devforum.okta.com/t/how-to-change-sms-phone-number/3579/1 "2018-12-07T04:03:12Z")

</div>

Q #1 - Is it possible to change the SMS phone number after it has been set in the initial activation?

Q #2 - It looks like Postman collection “Authentication -\> Enroll -\> Enroll SMS Factor with New Number” can make a change  
{{url}}/api/v1/authn/factors?updatePhone=true

with the body like this:  
{  
“stateToken”: “{{stateToken}}”,  
“factorType”: “sms”,  
“provider”: “OKTA”,  
“profile”: {  
“phoneNumber”: “+1 111 111 1111”  
}  
}

However, not sure how to get the “stateToken” value.

Thanks!

---

<div class="post-metadata">

**Author:** ![raja.muppanasetti](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@raja.muppanasetti](https://devforum.okta.com/u/raja.muppanasetti)\
**Post date:** [November 21, 2019, 12:47pm UTC](https://devforum.okta.com/t/how-to-change-sms-phone-number/3579/2 "2019-11-21T12:47:12Z")

</div>

I have the same requirement  
I tried the following process:

1.Get the Factors list from the user using GET FACTORS --Extract the FactorID.  
2.Delete the Existing SMS FACTOR by using DELETE FACTOR - FactorId has to be mentioned in the URL  
3.Then use the {{url}}/api/v1/authn/factors?updatePhone=true  
This process helped me in deleting the activated SMS factor and enrolling the SMS as MFA with updated mobile number.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [January 18, 2024, 12:31am UTC](https://devforum.okta.com/t/how-to-change-sms-phone-number/3579/3 "2024-01-18T00:31:40Z")

</div>

Closed on January 18, 2024, 12:31am UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
