Page tree




In This Document 


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


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 Delete L2L API deletes the specified L2L tunnel.  

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

Sample request

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

Input

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

API Call / URLMethod / Type
/l12/{id}DELETE

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": "2015-01-06T23:06:09.893",
 "peerId": "1.2.3.4",
 "encryption": "3des",
 "enablePfs": true,
 "dhGroup": "dh2",
 "localSubnets": [
   "100.64.0.64/32"
 ],
 "peerSubnets": [
   "10.1.1.0/24"
 ],
 "psk": null,
 "authentication": "psk",
 "configurationId": 4,
 "id": 24,
 "name": "ME",
 "localIp": "146.88.118.5",
 "peerIp": "1.2.3.4",
 "isEnabled": false,
 "notes": null,
 "tags": []
}
400
Bad Request