# Delete Daytona Sandbox

> Delete Daytona Sandbox is a paid API for AI agents from daytona.withzero.ai, price unknown, status unknown (last checked 2026-09-15).

Permanently delete an ephemeral Daytona development sandbox by its ID, releasing its allocated resources.

## Facts

- Endpoint: DELETE https://daytona.withzero.ai/v1/sandboxes/:id
- Price: price unknown
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Provider: daytona.withzero.ai
- Website: https://daytona.withzero.ai
- Canonical page: https://www.zero.xyz/c/daytona-withzero-ai-id-725e971c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JWYnIwKECQUqxcxiFgvO7

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability daytona-withzero-ai-id-725e971c -d '<json body>'
```

Example prompt: I'm done with my Daytona sandbox — go ahead and delete sandbox ID abc123 so the resources get freed up.

## When to prefer this

Use this endpoint when you need to explicitly terminate and clean up a Daytona ephemeral sandbox before its 30-minute natural expiry, or when you want to immediately free resources after finishing work in the sandbox.

## Known failure modes

- Sandbox ID not found — sandbox may have already expired or been deleted
- Unauthorized — missing or invalid payment/auth credentials
- Sandbox currently in a state that cannot be deleted (e.g. provisioning in progress)
- Network timeout reaching the Daytona service

## Output

Returns a JSON object confirming the sandbox has been deleted. The sandbox and its associated resources (CPU, RAM) are permanently deallocated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {},
 "description": "No body parameters required. The endpoint provisions a fixed-spec sandbox (1 CPU, 1 GB RAM, 30 minutes) with no configuration needed.",
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/daytona-withzero-ai-id-725e971c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from daytona.withzero.ai](https://www.zero.xyz/host/daytona.withzero.ai/llms.txt)
