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

# Delete a sandbox

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

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-05-27** `a0acb3a6a101` — 2 info
  - added the optional property `detail/error_id` to the response with the `404` status
  - added the optional property `detail/error_id` to the response with the `500` status
- **2026-04-13** `e86be67718ee` — 1 info
  - the endpoint scheme security `X-Service-Key` was added to the API

[Change history](https://skmtc.dev/langchain-ai/apis/langsmith/changes/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-service-production.skmtc.workers.dev/v1/apis/langchain-ai/langsmith/revisions/a0acb3a6a101/schema)
