compute
DELETE /v1/compute/servers/{serverId}/snapshots/{snapshotId}
Delete a snapshot.
Autentifikacija
Pošaljite API ključ kao bearer token. Ključ mora imati dozvolu sites.view; ključ bez nje se odbija sa 403, a ne sa 404.
Ovaj krajnji tačka ne prihvata ID organizacije. Vaš ključ već identifikuje organizaciju kojoj pripada, a odgovor je ograničen na nju.
Isprobajte
Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.
curl -X DELETE https://api.zinndigital.com/v1/compute/servers/{serverId}/snapshots/{snapshotId} \
-H "Authorization: Bearer zdk_live_…"Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli
Detalji
⛔ Irreversible, and it is one of the customer's restore points. Requires `sites.view` and `sites.delete`.
Parametri
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
serverId (path) | Uuid | Da | 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. |
snapshotId (path) | string | Da | The **provider's** id for the image, as the listing reported it — not one of ours. The engine re-checks that the snapshot was created from this machine before touching it, becau… |
Greške koje ovaj krajnji tačka može da vrati
401 · 403 · 404 · 422 · 429 · 503