Leap0

Delete a snapshot

Delete a stored snapshot and its artifacts. Deletion fails if the snapshot is still referenced by an active sandbox.

DELETE
/v1/snapshot/{snapshotID}

Delete a stored snapshot and its artifacts. Deletion fails if the snapshot is still referenced by an active sandbox.

Authorization

BearerAuth
AuthorizationBearer <token>

API key passed as a Bearer token in the Authorization header. Alternatively, use the leap0-authorization header.

In: header

Path Parameters

snapshotID*string

Unique snapshot identifier.

Response Body

application/json

application/json

application/json

curl -X DELETE "https://api.leap0.dev/v1/snapshot/string"
Empty
{  "message": "string"}
{  "message": "string"}
{  "message": "string"}