> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a sandbox

> Terminates and deletes a sandbox pod

Terminates and deletes a sandbox pod

### Path parameters

<ParamField path="sandboxId" type="string (uuid)" required>
  Unique sandbox identifier
</ParamField>

### Response

`DeleteSandboxResponse`

<ResponseField name="success" type="boolean" />

<ResponseField name="message" type="string">
  Human-readable confirmation message
</ResponseField>

### Status codes

| Code  | Meaning         |
| ----- | --------------- |
| `200` | Sandbox deleted |
| `401` | —               |
| `404` | —               |

<RequestExample>
  ```bash cURL theme={null}
  curl --request DELETE \
    --url 'https://api.sandbox.stateset.app/api/v1/sandbox/{sandboxId}' \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "message": "string"
  }
  ```
</ResponseExample>
