compute

DELETE /v1/compute/connected-servers/{serverId}

Disconnect a server; its monthly charge stops. Nothing on the machine is touched by us.

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 endpoint checks billing.payment.manage; 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 DELETE https://api.zinndigital.com/v1/compute/connected-servers/{serverId} \
  -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

The agent's next report receives 410 and removes its own files only. Needs billing.payment.manage. Audited compute.connected_server.remove (metadata live_sites). DAY-0917: while the machine still serves live sites the call is refused 409 live_sites_on_server — details[0] is {field: live_sites, code: count, message: "<N>"} (the exact count), then up to 10 {field: domain, code: live_site, message: "<domain>"} — until it is repeated with confirm_live_sites=true.

Parameters

NameTypeRequiredWhat it is
serverId (path)stringYes—
confirm_live_sites (query)string<true, false>Notrue confirms the customer was warned that the live sites on this machine stop being served by us. Any other value is treated as absent.

Errors this endpoint can return

401 · 403 · 404 · 409 · 429