Price an additional IP for this server, and whether one can be bought now
curl --request GET \
--url https://api.storiza.store/vps/{id}/additional-ips/quote \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.storiza.store/vps/{id}/additional-ips/quote', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/vps/{id}/additional-ips/quote"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"message": "Additional IP quote",
"data": {
"available": true,
"reason": "NOT_FOR_SALE",
"message": "<string>",
"held": 123,
"limit": 123,
"monthlyPrice": 123,
"prices": [
{
"days": 123,
"price": 123,
"feePercent": 123
}
]
}
}Server additional IPs
Price an additional IP for this server, and whether one can be bought now
Prices one additional IP for each billing period (7, 14, 30, 90 days) from the server’s datacenter, with the same short-term fee as a VPS. available says whether an order would be accepted right now; when it is false, reason says why:
NOT_FOR_SALE: the datacenter does not sell additional IPs.NO_FREE_IP: none free on the server’s node.LIMIT_REACHED: the server already has the maximum (5). More only through support.PRIVATE_IP_SERVER: not offered for servers on a private primary IP.SERVER_NOT_ACTIVE: the server must be running and paid for.
Owner only.
Required API key permission: vps:read
GET
/
vps
/
{id}
/
additional-ips
/
quote
Price an additional IP for this server, and whether one can be bought now
curl --request GET \
--url https://api.storiza.store/vps/{id}/additional-ips/quote \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.storiza.store/vps/{id}/additional-ips/quote', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/vps/{id}/additional-ips/quote"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"message": "Additional IP quote",
"data": {
"available": true,
"reason": "NOT_FOR_SALE",
"message": "<string>",
"held": 123,
"limit": 123,
"monthlyPrice": 123,
"prices": [
{
"days": 123,
"price": 123,
"feePercent": 123
}
]
}
}Authorizations
Was this page helpful?