Update IPSec Single Tunnel
  • 22 Nov 2023
  • 1 Minute to read
  • Contributors

    Update IPSec Single Tunnel


      Article summary

      Put
      /v2/networks/{networkId}/tunnels/ipsec/single/{tunnelId}

      Required permissions: ["network:write"]

      Security
      Http
      Type bearer
      Path parameters
      networkId
      stringRequired
      tunnelId
      stringRequired
      Body parameters
      Expand All
      object
      keyExchange
      string Required
      Valid values[ "ikev1", "ikev2" ]
      ikeLifeTime
      string Required
      Pattern^((1[0-9]|[2-9][0-9]|[1-9][0-9]{2,3}|[1-7][0-9]{4}|8[0-5][0-9]{3}|86[0-3][0-9]{2}|86400)s)|(([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|1[0-3][0-9][0-9]|14[0-3][0-9]|1440)m)|(([1-9]|1[0-9]|2[0-4])h)$
      lifetime
      string Required
      Pattern^((1[0-9]|[2-9][0-9]|[1-9][0-9]{2,3}|[1-7][0-9]{4}|8[0-5][0-9]{3}|86[0-3][0-9]{2}|86400)s)|(([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|1[0-3][0-9][0-9]|14[0-3][0-9]|1440)m)|(([1-9]|1[0-9]|2[0-4])h)$
      dpdDelay
      string Required
      Pattern^([5-9]|[1-5][0-9]|60)s$
      dpdTimeout
      string Required
      Pattern^([5-9]|[1-5][0-9]|60)s$
      phase1
      object (IPSecPhase)Required
      auth
      Array of stringRequired
      string
      Valid values[ "3des", "blowfish128", "blowfish192", "blowfish256", "aes128", "aes192", "aes256" ]
      encryption
      Array of stringRequired
      string
      Valid values[ "md5", "sha1", "sha384", "sha256", "sha512" ]
      dh
      Array of integerRequired

      Diffie Helman encryption

      integer
      Valid values[ 2, 5, 14, 19, 20, 21 ]
      phase2
      object (IPSecPhase)Required
      auth
      Array of stringRequired
      string
      Valid values[ "3des", "blowfish128", "blowfish192", "blowfish256", "aes128", "aes192", "aes256" ]
      encryption
      Array of stringRequired
      string
      Valid values[ "md5", "sha1", "sha384", "sha256", "sha512" ]
      dh
      Array of integerRequired

      Diffie Helman encryption

      integer
      Valid values[ 2, 5, 14, 19, 20, 21 ]
      p81GatewaySubnets
      Array of stringRequired
      string
      remoteGatewaySubnets
      Array of stringRequired
      string
      passphrase
      string
      Pattern^[a-zA-Z1-9._][a-zA-Z0-9._]{7,63}$
      remotePublicIP
      string (ipv4)
      remoteID
      OneOf
      string
      string
      string
      string
      Pattern^[a-zA-Z0-9]{3,25}$
      phase1
      object (IPSecPhase)
      auth
      Array of stringRequired
      string
      Valid values[ "3des", "blowfish128", "blowfish192", "blowfish256", "aes128", "aes192", "aes256" ]
      encryption
      Array of stringRequired
      string
      Valid values[ "md5", "sha1", "sha384", "sha256", "sha512" ]
      dh
      Array of integerRequired

      Diffie Helman encryption

      integer
      Valid values[ 2, 5, 14, 19, 20, 21 ]
      phase2
      object (IPSecPhase)
      auth
      Array of stringRequired
      string
      Valid values[ "3des", "blowfish128", "blowfish192", "blowfish256", "aes128", "aes192", "aes256" ]
      encryption
      Array of stringRequired
      string
      Valid values[ "md5", "sha1", "sha384", "sha256", "sha512" ]
      dh
      Array of integerRequired

      Diffie Helman encryption

      integer
      Valid values[ 2, 5, 14, 19, 20, 21 ]
      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

      Was this article helpful?