Skip to main content
POST
Change a server's IP address

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

Body

application/json
subnet
string
required

The /24 to take the new address from, one of subnets in the options. The server's current subnet can be chosen too.

Example:

"198.51.100.0/24"

Response

The change was paid from your balance and queued.

status
boolean
required
Example:

true

message
string
required
Example:

"The IP address change has been queued"

invoice_id
integer
required
Example:

5013

amount_charged
number
required
Example:

2.5

ip_change
object
required

A change of a server's IPv4 address.