Page tree

Overview

This API call only applies to Armor Complete users.

The Get L2L API retrieves a list of L2L (IPSec) tunnels. 

You can use this API to find the L2L ID (id). You will need this ID for other L2L-related APIs. 

Sample request

GET https://api.armor.com/l2l

Input

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

API Call / URLMethod / Type
/l2lGET


There are no parameters for this API call. 


Sample return

StatusResponse
200
[{
   "id": 4,
   "edgeId": 4,
   "edgeIp": "146.88.118.5",
   "location": "DFW01",
   "zone": "DFW01T01-VC03",
   "lastModified": "2015-01-06T22:18:19.1",
   "sites": [
     {
       "id": 24,
       "name": "ME",
       "localIp": "146.88.118.5",
       "peerIp": "1.2.3.4",
       "isEnabled": true,
       "notes": null,
       "tags": []
     }
   ],
   "tenantCidr": "100.64.0.64/26"
 },
 {
   "id": 1222,
   "edgeId": 1240,
   "edgeIp": "146.88.122.13",
   "location": "PHX01",
   "zone": "PHX01T01-VC03",
   "lastModified": "2015-01-06T07:01:19.693",
   "sites": [],
   "tenantCidr": "100.64.218.0/24"
 }]
400
Bad Request



In this topic



Have a suggestion for the Armor Knowledge Base? Send a message to kb@armor.com.