Create a new Network Access Profile

POST /v1/NetworkAccessProfiles

TODO: Resource-level docs

Create a new Network Access Profile

application/x-www-form-urlencoded

Body

  • Networks array[string]

    List of Network SIDs that this Network Access Profile will allow connections to.

  • An application-defined string that uniquely identifies the resource. It can be used in place of the resource's sid in the URL to address the resource.

Responses

  • 201

    Created

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

      The SID of the Account that the Network Access Profile belongs to

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

    • date_created string(date-time) | null

      The ISO 8601 date and time in GMT when the resource was created

    • date_updated string(date-time) | null

      The ISO 8601 date and time in GMT when the resource was last updated

    • sid string | null

      The unique string that identifies the resource

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

    • unique_name string | null

      An application-defined string that uniquely identifies the resource

    • url string(uri) | null

      The absolute URL of the resource

POST /v1/NetworkAccessProfiles
curl \
 -X POST https://supersim.twilio.com/v1/NetworkAccessProfiles \
 --user "username:password" \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -d 'Networks=string&UniqueName=string'
Request example
{
  "Networks": [
    "string"
  ],
  "UniqueName": "string"
}
Response examples (201)
{
  "account_sid": "string",
  "date_created": "2023-05-04T09:42:00+00:00",
  "date_updated": "2023-05-04T09:42:00+00:00",
  "links": {},
  "sid": "string",
  "unique_name": "string",
  "url": "https://example.com"
}