compute

DELETE /v1/compute/servers/{serverId}/snapshots/{snapshotId}

Delete a snapshot.

Tüm compute uç noktaları

Kimlik Doğrulama

Bearer token olarak bir API anahtarı gönderin. Anahtar sites.view iznine sahip olmalıdır; bu izne sahip olmayan bir anahtar 404 ile değil, 403 ile reddedilir.

Bu uç nokta hiçbir organizasyon kimliği almaz. Anahtarınız zaten ait olduğu organizasyonu tanımlar ve yanıt bu organizasyonla sınırlandırılır.

Dene

Köşeli parantez içindeki her şeyi kendi değerlerinizle ve anahtar yer tutucusunu panonuzdan bir anahtarla değiştirin.

curl -X DELETE https://api.zinndigital.com/v1/compute/servers/{serverId}/snapshots/{snapshotId} \
  -H "Authorization: Bearer zdk_live_…"

Oturum açtınız mı? Panonuzdaki API konsolu, gerçek organizasyon kimliğinizi ve kendi anahtarınızı otomatik olarak doldurur ve isteği canlı API üzerinde çalıştırarak gerçek yanıtı görmenizi sağlar. Bu uç noktayı API konsolunda açın

Ayrıntılar

⛔ Irreversible, and it is one of the customer's restore points. Requires `sites.view` and `sites.delete`.

Parametreler

AdTürZorunluNe olduğu
serverId (path)UuidEvetThe 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)stringEvetThe **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…

Bu uç noktanın dönderebileceği hatalar

401 · 403 · 404 · 422 · 429 · 503