Page tree

In This Document 

Was this document useful? 
Your Rating:
1 Star2 Star3 Star4 Star5 Star
2 rates

Have a suggestion for the Armor Knowledge Base? Send a message to


This API call only applies to Armor Complete users.

The Create L2L API creates a new L2L tunnel.  

Sample request



The following table describes the different parts of this API call: 

API Call / URLMethod / Type

The following table describes the parameter (or parameters) for this API call:

ParameterDescriptionFormatRequired or optionalExample
nameName of tunnelStringRequiredME4
pskPre-shared keyStringRequiredSecur3_K3Y
dhGroupDiffie-Hellman groupStringRequireddh2
isEnabledFlag to enable to disableBoolRequiredtrue
enablePfsEnable perfect forward secrecyBoolRequiredtrue
localSubnetsLocal subnets to tunnelArrayRequired100.64.0.66/32
peerSubnetsPeer subnets to tunnelArrayRequired10.1.0.0/24
authenticationType of authenticationStringRequiredpsk
encryptionType of encryption to useStringRequiredaes256
localIpLocal Peer IP addressStringRequired146.88.118.5
edgeIdid of edge in which the tunnel is establishedIntegerRequired4
peerIdRemote peer addressStringRequired10.1.1.0

Sample return

  "location": "DFW01",
  "zone": "DFW01T01-VC03",
  "lastModified": "2015-01-06T23:06:09.893",
  "peerId": "",
  "encryption": "3des",
  "enablePfs": true,
  "dhGroup": "dh2",
  "localSubnets": [
  "peerSubnets": [
  "psk": null,
  "authentication": "psk",
  "configurationId": 4,
  "id": 24,
  "name": "ME",
  "localIp": "",
  "peerIp": "",
  "isEnabled": true,
  "notes": null,
  "tags": []
Bad Request