Add a Network resource to the Network Access Profile resource

POST /v1/NetworkAccessProfiles/{NetworkAccessProfileSid}/Networks

Mobile operator networks which Network Access Profiles allow access to

Add a Network resource to the Network Access Profile resource.

Path parameters

Body

  • Network string Required

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

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^HW[0-9a-fA-F]{32}$.

Responses

  • Created

    Hide response attributes Show response attributes object
    • friendly_name string | null

      A human readable identifier of this resource

    • identifiers array | null

      The MCC/MNCs included in the resource

    • iso_country string | null

      The ISO country code of the Network resource

    • The unique string that identifies the Network Access Profile resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^HA[0-9a-fA-F]{32}$.

    • sid string | null

      The unique string that identifies the resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^HW[0-9a-fA-F]{32}$.

    • url string(uri) | null

      The absolute URL of the resource

POST /v1/NetworkAccessProfiles/{NetworkAccessProfileSid}/Networks
curl \
 -X POST https://supersim.twilio.com/v1/NetworkAccessProfiles/{NetworkAccessProfileSid}/Networks \
 --user "username:password" \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -d 'Network=string'
Request example
{
  "Network": "string"
}
Request examples
{
  "Network": "string"
}
Response examples (201)
{
  "friendly_name": "string",
  "identifiers": [],
  "iso_country": "string",
  "network_access_profile_sid": "string",
  "sid": "string",
  "url": "https://example.com"
}
Response examples (201)
{
  "friendly_name": "string",
  "identifiers": [],
  "iso_country": "string",
  "network_access_profile_sid": "string",
  "sid": "string",
  "url": "https://example.com"
}