Update a Wireguard tunnel
  • 22 Nov 2023
  • 1 Minute to read
  • Contributors

    Update a Wireguard tunnel


      Article summary

      Put
      /v2/networks/{networkId}/tunnels/wireguard/{tunnelId}

      Required permissions: ["network:write"]

      Security
      Http
      Type bearer
      Path parameters
      networkId
      stringRequired
      tunnelId
      stringRequired
      Body parameters
      object
      remoteEndpoint
      string (ipv4) Required
      remoteSubnets
      Array of stringRequired
      string
      Responses
      202

      Request accepted

      object
      statusUrl
      string
      samplingTime
      integer
      401

      Unauthorized

      object
      id
      string
      message
      string
      403

      Forbidden

      object
      id
      string
      message
      string
      404

      Resource not found

      object
      id
      string
      message
      string
      422

      Unprocessable entity

      object
      id
      string
      message
      string

      Was this article helpful?