Cli command to switch apn profile?

apn carrier="Tbaytel Tethering"
      carrier_id = "2090"
      mcc="302"
      mnc="720"
      apn="ltedata.apn"
      type="dun"
      protocol="IPV4V6"
      mvno_type="gid"
      mvno_match_data="BA"

apn carrier="Tbaytel Internet"
      carrier_id = "2090"
      mcc="302"
      mnc="720"
      apn="ltemobile.apn"
      type="default,ia,mms,supl"
      protocol="IPV4V6"
      mmsc="http://mms.gprs.rogers.com"
      mmsproxy="mmsproxy.rogers.com"
      mmsport="80"
      mvno_type="imsi"
      mvno_match_data="302720x92"

apn carrier="Tbaytel Internet"
      carrier_id = "2090"
      mcc="302"
      mnc="720"
      apn="ltemobile.apn"
      type="default,ia,mms,supl"
      protocol="IPV4V6"
      mmsc="http://mms.gprs.rogers.com"
      mmsproxy="mmsproxy.rogers.com"
      mmsport="80"
      mvno_type="gid"
      mvno_match_data="BA"

Sure, you’ll need to prepare above data into format recognized from PureOS. As first edit this file: /usr/share/mobile-broadband-provider-info/serviceproviders.xml, please create smaller working file with fields/format as needed. Convert/write above data to this smaller .txt file by yourself and copy them into serviceproviders.xml, save this updated file, reboot and let us know if connection to Tbaytel is automatically recognized now. Hope this helps.

EDIT: In addition, please check following file compatibility with Tbaytel as well (it is too late for me to do this now):