Page tree

Overview

This API call only applies to Armor Complete users.

The Assign IP API assigns an IP address to a virtual machine.  

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

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


Sample request

POST https://api.armor.com/ips
{
 "vmId": 1,
 "id": 518,
 "accountId": 2
}

Input

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

API Call / URLMethod / Type
/ipsPOST

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

ParameterDescriptionFormatRequired or optionalExample
vmIdThe VM id to which the IP is assignedIntegerOptional1
idID of the IPIntegerOptional518

Sample return

StatusResponse
200
"The IpAddress 100.64.0.10 has been assigned to Vm Smoke-Test-A1"
400
Bad Request



In this topic



Have a suggestion for the Armor Knowledge Base? Send a message to kb@armor.com.