Page tree


Knowledge Base


Feedback

Have a suggestion for the Armor Knowledge Base?

Send a message to
kb@armor.com.









Overview

This API call only applies to Armor Complete users.

The Get L2L By ID API retrieves information information in your account. 

You can use the Get L2L API to find the L2L ID (id).

Sample Request

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

Input


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

API Call / URLMethod / Type
/l2l/{id}GET


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

ParameterDescriptionFormatRequired or optionalExample
id (Route)id for the l2l tunnelIntegerRequired24

Sample Return

StatusResponse
200
{
 "location": "DFW01",
 "zone": "DFW01T01-VC03",
 "lastModified": "0001-01-01T00:00:00",
 "peerId": "1.2.3.4",
 "encryption": "3des",
 "enablePfs": true,
 "dhGroup": "dh2",
 "localSubnets": [
   "100.64.0.64/32"
 ],
 "peerSubnets": [
   "10.1.1.0/24"
 ],
 "psk": "e$KIG%&5k7K0S%rx",
 "authentication": "psk",
 "configurationId": 4,
 "id": 24,
 "name": "ME",
 "localIp": "146.88.118.5",
 "peerIp": "1.2.3.4",
 "isEnabled": true,
 "notes": null,
 "tags": []
}
400
Bad Request