---
title: "Delete a sandbox"
method: DELETE
path: "/api/v2/sandboxes/boxes/{name}"
tags: ["sandboxes"]
---

# Delete a sandbox

`DELETE /api/v2/sandboxes/boxes/{name}`

## Request

- Base URL: `https://api.smith.langchain.com`
- URL: `https://api.smith.langchain.com/api/v2/sandboxes/boxes/{name}`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in header `X-Tenant-Id`
  - HTTP bearer
  - `X-Service-Key` (a scheme the document does not define)

Delete a sandbox by name or UUID. Tears down the sandbox runtime and removes the DB record.

## Path parameters

- `name` string, required

## Response `204`

No content

## Other responses

- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-10-16** `1a8ee9358d81`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/langchain-ai/apis/langsmith/changes/api/v2/sandboxes/boxes/:name/delete.md)

---

[API](https://skmtc.dev/langchain-ai/apis/langsmith.md) - [All operations](https://skmtc.dev/langchain-ai/apis/langsmith/llms.txt) - [OpenAPI document](https://skmtc.dev/langchain-ai/apis/langsmith/revisions/7a01c01f75e8?raw)
