hosting
GET /v1/sites/{siteId}/line-move
Whether this site can move to another hosting type now, and what it costs.
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/sites/{siteId}/line-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
P1-080. A site moves to another product line (today Footprint-Free to Mainstream) on a slot of that line: a free slot on a live subscription of the target line costs nothing; with none, price_due is true and plan names the cheapest monthly plan of the line, bought through the normal checkout. Nothing is charged here. blocked_reason says why a move cannot start now (not_offered, not_on_fleet, move_in_progress, needs_plan, no_capacity, region_unavailable); null means it can. regions lists the cities with a server of the target line that has room; region is the city the move lands in (the one asked for, else the site's own when it has room, else empty: the customer chooses, because a city is data residency). move is the move in flight and move_back_until the end of the seven-day window to take it back. The registrar delegation follows the new line at cutover; mailboxes are not touched. No server is named. Requires sites.view.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
siteId (path) | Uuid | Yes | Site ID (UUIDv7). |
product_line (query) | string | No | The target line (defaults to the first one offered). |
region (query) | string | No | The city to quote for (one of regions); blank = the site's own city. |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
current_line | string | Yes | — |
targets | string[] | Yes | — |
target_line | string | Yes | — |
free_slot | boolean | Yes | A live subscription of the target line has a free site slot. |
price_due | boolean | Yes | No free slot; a plan of the line must be bought first. |
plan | object | Yes | The cheapest monthly plan of the target line, when price_due. |
blocked_reason | object | Yes | — |
regions | string[] | Yes | Cities with a server of the target line that has room (empty when blocked before capacity is read). |
region | string | Yes | The city the move lands in; empty means the customer must choose one of regions. |
move | SiteLineMove | Yes | — |
move_back_until | string | Yes | — |
offer | object | Yes | P1-135: we suggested moving this Footprint-Free site to Mainstream because it passed threshold human page views over 30 days. null when never offered or dismissed. |
Errors this endpoint can return
401 · 403 · 404 · 429