---
title: "Delete a sandbox snapshot by name (default) or id"
method: DELETE
path: "/api/v0beta1/rig-snapshots/{ref}"
tags: ["SandboxSnapshots"]
---

# Delete a sandbox snapshot by name (default) or id

`DELETE /api/v0beta1/rig-snapshots/{ref}`

## Request

- Base URL: `https://app.amika.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://app.amika.dev/api/v0beta1/rig-snapshots/{ref}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `wos-session`

## Path parameters

- `ref` string, required: Snapshot reference: its fully-qualified name (default) or row id. Use the `by` query param to choose.

## Query parameters

- `by` 'name' | 'id' | 'ref' | 'name_or_id': How to interpret the reference: name (default), id, or ref/name_or_id (matches either; rejects ambiguity).

## Response `204`

Deleted.

## Other responses

- `401`: Error
- `403`: Error
- `404`: Error
- `409`: Error
- `502`: Error

## Changes

- **2026-09-16** `25ba06b40ead`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/amika/apis/amika-api/changes/api/v0beta1/rig-snapshots/:ref/delete.md)

---

[API](https://skmtc.dev/amika/apis/amika-api.md) - [All operations](https://skmtc.dev/amika/apis/amika-api/llms.txt) - [OpenAPI document](https://skmtc.dev/amika/apis/amika-api/revisions/86f031a957c1?raw)
