CmdID / PowerShell / Cmdlets / Remove
Remove-CsPhoneNumberSmsActivation
This cmdlet allows the admin to deactivate SMS capabilities for a telephone number. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 1 parameter Its page in the reference
Parameters
-TelephoneNumberIndicates the phone number to deactivate SMS from.