{
  "opencollection": "1.0.0",
  "info": {
    "name": "Telnyx Access Tokens WireGuard Interfaces API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "WireGuard Interfaces",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all WireGuard Interfaces",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/wireguard_interfaces",
            "params": [
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Consolidated filter parameter (deepObject style). Originally: filter[network_id]"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Consolidated page parameter (deepObject style). Originally: page[number], page[size]"
              }
            ]
          },
          "docs": "List all WireGuard Interfaces."
        },
        {
          "info": {
            "name": "Create a WireGuard Interface",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.telnyx.com/v2/wireguard_interfaces",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new WireGuard Interface. Current limitation of 10 interfaces per user can be created."
        },
        {
          "info": {
            "name": "Retrieve a WireGuard Interfaces",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/wireguard_interfaces/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Identifies the resource."
              }
            ]
          },
          "docs": "Retrieve a WireGuard Interfaces."
        },
        {
          "info": {
            "name": "Delete a WireGuard Interface",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.telnyx.com/v2/wireguard_interfaces/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Identifies the resource."
              }
            ]
          },
          "docs": "Delete a WireGuard Interface."
        },
        {
          "info": {
            "name": "List all WireGuard Peers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/wireguard_peers",
            "params": [
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Consolidated filter parameter (deepObject style). Originally: filter[wireguard_interface_id]"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Consolidated page parameter (deepObject style). Originally: page[number], page[size]"
              }
            ]
          },
          "docs": "List all WireGuard peers."
        },
        {
          "info": {
            "name": "Create a WireGuard Peer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.telnyx.com/v2/wireguard_peers",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new WireGuard Peer. Current limitation of 5 peers per interface can be created."
        },
        {
          "info": {
            "name": "Retrieve the WireGuard Peer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/wireguard_peers/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Identifies the resource."
              }
            ]
          },
          "docs": "Retrieve the WireGuard peer."
        },
        {
          "info": {
            "name": "Update the WireGuard Peer",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.telnyx.com/v2/wireguard_peers/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Identifies the resource."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the WireGuard peer."
        },
        {
          "info": {
            "name": "Delete the WireGuard Peer",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.telnyx.com/v2/wireguard_peers/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Identifies the resource."
              }
            ]
          },
          "docs": "Delete the WireGuard peer."
        },
        {
          "info": {
            "name": "Retrieve Wireguard config template for Peer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/wireguard_peers/:id/config",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Identifies the resource."
              }
            ]
          },
          "docs": "Retrieve Wireguard config template for Peer"
        }
      ]
    }
  ],
  "bundled": true
}