Skip to main content
GET
Get IP change options

Authorizations

Authorization
string
header
required

Your API key as it is, without Bearer. API access is off for new accounts: until it is turned on under Settings > API, every request answers 403 with API access is turned off for this account. Turn it on under Settings > API. If the account lists allowed IPs, a request from any other address answers 403 with This API key is not allowed from <address>.

Path Parameters

server
string
required

Response

The subnets a new address can come from, and the price.

status
boolean
required
Example:

true

available
boolean
required

Whether the server's IP address can be changed right now.

Example:

true

price
object
required
subnets
object[]
required

The /24 subnets in the server's location that have a free address, the server's current subnet included.

unavailable_reason
string | null

Why the address cannot be changed right now, or null.

Example:

"This server is suspended, so its IP address cannot be changed."

current_ip
string | null
Example:

"203.0.113.10"

latest_ip_change
object | null

A change of a server's IPv4 address.