compute

GET /v1/compute/servers/{serverId}/region-move

Read what moving a server to another city would involve.

All compute endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

Authentication

Send an API key as a bearer token. The key must carry the sites.view permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/compute/servers/{serverId}/region-move \
  -H "Authorization: Bearer zdk_live_…"

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

What the server page states before a server can be moved to another city: whether its supplier can carry it there (carry: any_city, copy_first or none; a dedicated machine is none), the other cities it could be rebuilt in, each marked available for this server's size now (null when the stock read is unknown), the server's current public addresses, that every one of them changes in a move (addresses_change), and how many days the old server is kept after a move (old_server_hold_days) so DNS can be re-pointed. Read-only: nothing is snapshotted, built or charged. Server moves open only after site moves are proven reliable, so offered is false and a movable server answers blocked_reason: opens_after_site_moves; the other reasons are not_active, supplier_cannot_carry and no_other_city. Locations are Zinn® location ids and cities are city names, never a supplier's token or name. A server the caller cannot see is a 404, the same as one that does not exist. Requires sites.view.

Parameters

NameTypeRequiredWhat it is
serverId (path)UuidYesThe server's id, as listComputeServers reports it. Ours (UUIDv7), minted when the order row was written — never the provider's own identifier for the machine.

Response

NameTypeRequiredWhat it is
server_idstringYes—
current_locationstringYesThe Zinn® location id the server is in now.
current_citystringYesThe city the server is in now, "" when we have no city for it.
carrystring<any_city, copy_first, none>YesHow the server's snapshot reaches another city at its supplier: rebuilt in any city, copied into the target city first, or not at all (no move).
offeredbooleanYesWhether this account may start a move now.
blocked_reasonstring<not_active, supplier_cannot_carry, no_other_city, opens_after_site_moves>Yes—
citiesobject[]Yes—
current_addressesstring[]YesThe server's public addresses now; every one changes in a move.
addresses_changebooleanYesAlways true; a rebuilt server gets addresses from the target city.
old_server_hold_daysintegerYesDays the old server is kept, stopped, after a move.

Errors this endpoint can return

401 · 403 · 404 · 429