Page tree

In This Document 

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


This API call only applies to Armor Complete users.

The Add/Remove NATs API adds or removes NATs from a specified virtual machine.    

You can use the Get VMs API to find the virtual machine ID (vmId) and the virtual data center ID (vcdOrgVdcId)

Sample request

"vmId": 2,
"translatedIp": "",
"originalIps": [""],
"vcdOrgVdcId": 1


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
VmIdThe ID of the virtual machine that owns the TranslatedIpIntegerRequired2
translatedIpThe private IP address of the virtual machineStringRequired100.10.10.1
originalIpsAn array of public IP addresses to removeStringRequired192.158.1.1
vcdOrgVdcIdThe ID of the virtual data center.IntegerRequired1

Sample return

 "id": 1,
 "vmId": 2,
 "translatedIp": "",
 "originalIps": [""]
"error": true,
"message": "Invalid request"