Delete a snapshot
DELETE/snapshots/{id}
path parameters
object
idstringrequiredSnapshot ID, e.g. snap_ab12cd34.
Responses
204 No contentNo Content
400 Bad requestBad Request
ErrorResponse
errorstring404 Not foundNot Found
ErrorResponse
errorstringAuthentication
bearerAuthHTTP bearer. Daemon API key. Omit on a keyless loopback daemon.Request
▍DELETE/snapshots/{id}
curl '/snapshots/{id}' \
-X DELETEconst response = await fetch("/snapshots/{id}", {
method: "DELETE",
});
const data = await response.json();import requests
response = requests.delete(
"/snapshots/{id}",
)
data = response.json()Response
204 No content
No response body.