Skip to main content
DELETE
/
v1
/
sandboxes
/
{id}
curl -X DELETE https://api.runtools.ai/v1/sandboxes/sandbox-abc123 \
  -H "X-API-Key: $RUNTOOLS_API_KEY"
{
  "data": {
    "id": "sandbox-abc123",
    "deleted": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string
required
Sandbox ID.

Query Parameters

async
boolean
Request asynchronous deletion when supported by the backend.
stream
boolean
Request streaming deletion progress when supported by the backend.

Response

id
string
Sandbox ID.
deleted
boolean
true when the sandbox was deleted synchronously.
curl -X DELETE https://api.runtools.ai/v1/sandboxes/sandbox-abc123 \
  -H "X-API-Key: $RUNTOOLS_API_KEY"
{
  "data": {
    "id": "sandbox-abc123",
    "deleted": true
  }
}
Deleting a sandbox is permanent. Preserve important work in a workspace, repository, or external storage before destroying it.