Wireless Blocklists

Create a Wireless Blocklist

Changed on

Create a Wireless Blocklist to prevent SIMs from connecting to certain networks.

post/wireless_blocklists

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/wireless_blocklists
  • Auth: HTTP bearer

Request body

namestring required

The name of the Wireless Blocklist.

type'country' | 'mcc' | 'plmn' required

The type of wireless blocklist.

Example request

{
  "name": "My Wireless Blocklist",
  "type": "country",
  "values": [
    "CA",
    "US"
  ]
}

Response

Wireless Blocklist created

Example response

{
  "data": {
    "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
    "created_at": "2018-02-02T22:25:27.521Z",
    "updated_at": "2018-02-02T22:25:27.521Z",
    "name": "North American Wireless Blocklist",
    "type": "country",
    "values": [
      "CA",
      "MX",
      "US"
    ]
  }
}

Changes

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status

    • breaking

      removed the success response with the status

    • info

      added the success response with the status