Wireless Blocklists

Update a Wireless Blocklist

Changed on

Updates the specified wireless blocklist. The update is processed asynchronously, so the request is accepted and completes in the background.

patch/wireless_blocklists/{id}

Request

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

Path parameters

idstring uuid required
Example:6a09cdc3-8948-47f0-aa62-74ac943d6c58

Identifies the wireless blocklist.

Request body

namestring

The name of the Wireless Blocklist.

Example request

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

Response

Update accepted and processed asynchronously. Poll GET /wireless_blocklists/{id} to check the result.

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": "My 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

    • warning

      removed the optional property / from the response with the status