Page tree

In This Document 

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

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


This API call only applies to Armor Complete users.

The Create NAT API creates NATs to associate with your virtual machine.  

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

Sample request

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


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
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

 "id": 1,
 "vmId": 2,
 "translatedIp": "",
 "originalIps": [""],
 "url": null,
 "locationName": null,
 "action": null,
 "vnic": 0
"error": true,
"message": "Invalid request"