Page tree


In This Document 



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 Allocate Public IPs API allocates more public IP addresses to your account for a particular location.  


Sample request

POST https://api.armor.com/ips/publicIps/quantity/{quantity}
{
 "quantity": 1,
 "locationId": 1
}

Input

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

API Call / URLMethod / Type
/ips/publicIps/quantity/{quantity}POST

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

ParameterDescriptionFormatRequired or optionalExample
quantityNumber of IPsIntegerOptional1
locationIdID of the location from which you would like the IPs assignedIntegerOptional1

Sample return

StatusResponse
200
[
 {
   "id": 1,
   "ipAddress": "10.254.11.1",
   "subnetId": 15405,
   "ipStateId": 3,
   "location": "DFW01 "
 }
]
400
Bad Request