Skip to main content
POST
Move a server to another region

Authorizations

Authorization
string
header
required

Path Parameters

server
string
required

Body

application/json
region_id
integer
required

The location to move to, from regions in the options.

Example:

6

mode
enum<string>
required

transfer copies the server's disk to the new location, so files, applications and settings come along. The server is stopped while the disk is copied. fresh replaces the server with a new installation in the new location; everything on its disk is erased.

Available options:
transfer,
fresh
distro_id
integer

Required for fresh: the operating system to install. Accepts a Linux distro ID or a Windows iso ID, as on reinstall.

ssh_key_id
integer

Optional for a fresh Linux server, one of your SSH keys.

Response

The move was paid from your balance and queued.

status
boolean
required
Example:

true

message
string
required
Example:

"The move to New York has been queued"

invoice_id
integer
required
Example:

5012

amount_charged
number
required
Example:

2.5

region_change
object
required

A move of a server to another location.