Page tree
Skip to end of metadata
Go to start of metadata

Overview

This API call only applies to Armor Complete users.

The Delete NATs API deletes a specified NAT from your system.

To simply remove NATs from your virtual machine, see Add/Remove NATs

You can use the Get VMs API to find the virtual machine ID (vmId). 

Sample request

DELETE https://api.armor.com/nats
{
"id": 1,
"vmId": 2,
"translatedIp": "100.10.10.1",
"originalIps": ["192.158.1.1"]
}

Input

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

API Call / URLMethod / Type
/natsDELETE

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

ParameterDescriptionFormatRequired or optionalExample
VmIdThe ID of the virtual machine that owns the TranslatedIpIntegerRequired2
idThe ID of the edge gatewayIntegerRequired1
TranslatedIpThe private IP address of the virtual machineStringRequired100.10.10.1
OriginalIpsAn array of public IP addresses to removeString[]Required192.158.1.1



Sample return

StatusResponse
200
true
400
{
"error": true,
"message": "Invalid request"
}

  • No labels