---
search:
  tags:
    - Data
    - DELETE
seo:
  description: >-
    Stops a sandbox if it is running and deletes it with its… Reference for the
    DELETE /_luna/tenants/{tenant}/sandboxes/{type}/{name} endpoint in the Luna
    API.
sidebar:
  label: Delete a sandbox
  badge: DELETE
title: Delete a sandbox
type: openapi-operation
---
Stops a sandbox if it is running and deletes it with its disks. Nothing of it is kept. Its luna's next request of it makes a new one.

`DELETE /_luna/tenants/{tenant}/sandboxes/{type}/{name}`

**Responses**

- `200` — Deleted.
- `404` — The luna has no sandbox of that name.
- `default` — The request failed. The status says how and \`error.message\` says why.

Response example, 200:

```json
{}
```
