compute

POST /v1/compute/servers/{serverId}/site-moves

Move one of your websites onto this server of yours.

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.create 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 POST https://api.zinndigital.com/v1/compute/servers/{serverId}/site-moves \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "site_id": <string> }'

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

Starts the same parity-gated move a paid own-server move runs (reason own_vps): the site is copied onto this server, checked, cut over, and the old copy is kept for seven days, during which rollbackSiteOwnVps moves it back. Nothing is bought and the server is never removed by a move back. Refusals are 422 with a machine code in details[0].code: the candidate list's refusal codes plus site_not_live, site_not_managed_wordpress, site_already_own_server, site_moving. Audit-logged as compute.server.site_move_started. Requires sites.create; 404 for a server or a site that is not the caller's.

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.

Request body

NameTypeRequiredWhat it is
site_idstringYes—

Response

NameTypeRequiredWhat it is
site_idstringYes—
server_idstringYes—
workflow_idstringYesThe move's run; the site's own-server card (getSiteOwnVps) shows its progress.

Errors this endpoint can return

401 · 403 · 404 · 422 · 503