compute
GET /v1/compute/servers/{serverId}/panel
Whether the Zinn® panel can be added to this server now, and why not.
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}/panel \
-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
P3-008 (cloud panel lane D). available is true when the panel can go on this machine now. Otherwise reason names why, one of not_active, suspended, cluster, already (the panel is on it or being added), failed (an earlier attempt failed: a support case, not offered again here), standing (the account is not in good standing), not_offered, windows, range, small (under 2 GB of memory), starter (a Docker or Kubernetes starter), other_panel (a Plesk licence), cloudlinux or image (an operating system the panel is not proven on yet). panel_state and panel_message are the server's own (ComputeServer). Requires sites.view.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
serverId (path) | Uuid | Yes | The 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
| Name | Type | Required | What it is |
|---|---|---|---|
available | boolean | Yes | — |
reason | object | Yes | — |
panel_state | string<, enrolling, managed, failed> | Yes | — |
panel_message | string | Yes | A registered refusal.enrol.* sentence, or blank — never a raw error (an SSH error with an address reached a customer before PANEL-C r10). |
panel_message_refusal | ComputePanelMessageRefusal | null | No | — |
key_line | string | Yes | The Zinn® panel's access key, PUBLIC line only (ssh-ed25519 AAAA… comment), for a server we did not build with it (bought bare). The customer adds it to key_path before… |
key_path | string | Yes | The file key_line goes in on the server: the authorized_keys of the account the enrolment signs in as, the box's own login user (/home/admin/.ssh/authorized_keys on a box… |
Errors this endpoint can return
401 · 403 · 404