Delete a checkpoint
DELETE
/checkpoints/{checkpoint_id}
const url = 'https://api.global.stillbox.example/v1/checkpoints/cp-7k2m9q4x8w3z5r6t';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.global.stillbox.example/v1/checkpoints/cp-7k2m9q4x8w3z5r6t \ --header 'Authorization: Bearer <token>'Sandboxes already made from the checkpoint are unaffected.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”checkpoint_id
required
string
Responses
Section titled “Responses”The checkpoint is being deleted
Media typeapplication/json
object
id
required
string
sandbox_id
required
The sandbox it was taken from (which may have been deleted since).
string
name
required
string
kind
required
string
state
required
string
size_bytes
required
Memory plus disk changes, before compression.
integer format: int64
in_object_storage
Stored in the region’s object storage, so it can be restored on any server of the same CPU type.
boolean
error
string
created_at
required
string format: date-time
Example
{ "kind": "manual", "state": "creating"}The API key is missing or invalid
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}No such sandbox in your organization (or no such file)
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}The checkpoint is still being taken
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}