メニュー

Expand
Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

NetworkAccessProfile Networks subresource

Each Network Access Profile resource has a Networks subresource (NAP Networks) that contains a list of allowed cellular networks to Super SIMs can connect.

https://supersim.twilio.com/v1/NetworkAccessProfiles/{Sid}/Networks

The NAP Network resources in this subresource are a subset of all of the Network resources available from the Networks resource. You can add or remove NAP Network resources from the NAP Networks subresource at any time to change which cellular networks Super SIMs using the parent Network Access Profile resource can connect to.

The Sid used to add, remove, or identify NAP Network resources is the same as the Sid of the corresponding Network resource. You can filter the NAP Networks subresource the same way you can the Networks resource.

NetworkAccessProfile Network properties

A Network Access Profile Network resource (NAP Network) has the same representation and values as the corresponding available Network resource with the exception of the additional NetworkAccessProfileSid property that identifies the Network Access Profile the subresource belongs to.

Resource Properties in REST API format
sid
sid<HW> Not PII

The unique string that identifies the Network resource.

network_access_profile_sid
sid<HA> Not PII

The unique string that identifies the Network resource's Network Access Profile resource.

friendly_name
文字列 Not PII

A human readable identifier of the Network this resource refers to.

iso_country
文字列 Not PII

The ISO country code of the Network resource.

identifiers
object[] Not PII

Array of objects identifying the MCC-MNCs that are included in the Network resource.

url
url Not PII

The absolute URL of the Network resource.

Create a NetworkAccessProfile Network resource

post
https://supersim.twilio.com/v1/NetworkAccessProfiles/{NetworkAccessProfileSid}/Networks

To allow Super SIMs to connect to a cellular network represented by a Network resource, a NAP Network resource must be created. Use the sid of the Network resource you with to add in your create request to add the NAP Networks subresource.

For example, if you wish to allow Super SIMs to connect to AT&T US.

First, you need to know the sid of the Network resource that represents AT&T US. You could do that by reading through the list of Network resources or if you know the MCC and MNC identifiers, you can read Networks resource by MCC and MNC. You will find that the Sid of the Network resource representing AT&T US is HWd85b0262d6fc4c0b991bf8294596642e.

Now that you know the Sid of the Network resource you wish to add, pass in HWd85b0262d6fc4c0b991bf8294596642e into your create NAP Network resource request.

パラメーター
Parameters in REST API format
network_access_profile_sid
Path
post sid_like<HA> Not PII

The unique string that identifies the Network Access Profile resource.

network
必須
post sid<HW> Not PII

The SID of the Network resource to be added to the Network Access Profile resource.

例 1
        
        
        
        
        Use the sid of desired resource from the Networks resource

        Create a NAP Network resource

        Use the sid of desired resource from the Networks resource

        Fetch a NetworkAccessProfile Network resource

        GET
        https://supersim.twilio.com/v1/NetworkAccessProfiles/{NetworkAccessProfileSid}/Networks/{Sid}
        パラメーター
        Parameters in REST API format
        network_access_profile_sid
        Path
        GET sid_like<HA> Not PII

        The unique string that identifies the Network Access Profile resource.

        sid
        Path
        GET sid<HW> Not PII

        The SID of the Network resource to fetch.

        例 1
              
              
              
              

              Read multiple NetworkAccessProfile Network resources

              GET
              https://supersim.twilio.com/v1/NetworkAccessProfiles/{NetworkAccessProfileSid}/Networks
              パラメーター
              Parameters in REST API format
              network_access_profile_sid
              Path
              GET sid_like<HA> Not PII

              The unique string that identifies the Network Access Profile resource.

              例 1
                    
                    
                    
                    

                    Delete a NetworkAccessProfile Network resource

                    削除する
                    https://supersim.twilio.com/v1/NetworkAccessProfiles/{NetworkAccessProfileSid}/Networks/{Sid}
                    パラメーター
                    Parameters in REST API format
                    network_access_profile_sid
                    Path
                    削除する sid<HA> Not PII

                    The unique string that identifies the Network Access Profile resource.

                    sid
                    Path
                    削除する sid<HW> Not PII

                    例 1
                          
                          
                          
                          
                          Disable a cellular network by deleting the NAP Network resource

                          Delete a NAP Network resource

                          Disable a cellular network by deleting the NAP Network resource
                          Rate this page:

                          ヘルプが必要ですか?

                          誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。