---
title: "Delete sandbox snapshot"
method: DELETE
path: "/sandboxes/{sandboxName}/snapshots/{snapshotId}"
tags: ["compute"]
---

# Delete sandbox snapshot

`DELETE /sandboxes/{sandboxName}/snapshots/{snapshotId}`

## Request

- Base URL: `https://api.blaxel.ai/v0`
- URL: `https://api.blaxel.ai/v0/sandboxes/{sandboxName}/snapshots/{snapshotId}`
- Auth: one of:
  - OAuth 2
    - Authorization code: `/oauth/authorize`
    - Client credentials
    - Token URL: `/oauth/token` scopes: `sandboxes:delete`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/blaxel/apis/blaxel-control-plane/docs/sandboxes/:sandboxName/snapshots/:snapshotId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a snapshot of a sandbox by its ID.

## Path parameters

- `sandboxName` string, required
- `snapshotId` string, required

## Response `204`

Snapshot deleted successfully

## Other responses

- `404`: Not found - Snapshot does not exist
- `500`: Internal server error

---

[API](https://skmtc.dev/blaxel/apis/blaxel-control-plane.md) - [All operations](https://skmtc.dev/blaxel/apis/blaxel-control-plane/llms.txt) - [OpenAPI document](https://skmtc.dev/blaxel/apis/blaxel-control-plane/revisions/dfa264bc72ee?raw)
