compute
GET /v1/compute/servers/{serverId}/malware-clean
Malware cleaning on this server — the add-on's live price, whether it can be added, and the licence's site cover.
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}/malware-clean \
-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
A218 (BUILD-P3 r13). Free scan, paid clean: every server running the Zinn® panel scans its sites with a scan-only scanner for free; the automatic clean and quarantine run only while this add-on is active and the account is in good standing. Two tiers (owner decision 2026-12-04): malware_clean for a server with one site and malware_clean_multi for 2 to 30 sites. offer is the LIVE catalogue row of the tier the server holds, else of the tier its site count fits, in the machine's billed currency; POST buys that tier. orderable is false when off sale or when refusal names why this server cannot take it (refusal.compute.malwareCleanNeedsPanel: the Zinn® panel is not built yet; refusal.compute.malwareCleanTooManySites: the server has more than 30 sites). over_licence is true when sites were added after purchase: the customer is never blocked, is told cleaning covers covers_sites site(s) on their plan, and staff are alerted to upgrade the licence. 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. |
currency (query) | string | No | ISO currency to price the offer in when nothing bills the machine (defaults to USD). |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
data | MalwareCleanState | Yes | A218 — a server's malware-cleaning lane (free scan, paid clean), as offered. |
Errors this endpoint can return
401 · 403 · 404 · 422 · 429