---
title: "Archive sandbox"
method: POST
path: "/api/v1/sandboxes/{sandbox_id}/archive"
tags: ["sandboxes"]
---

# Archive sandbox

`POST /api/v1/sandboxes/{sandbox_id}/archive`

Archive a Daytona sandbox to cold storage for later recovery.

## Path parameters

- `sandbox_id` string, required — Unique sandbox identifier.

## Response `200`

Successful Response

- SandboxArchiveResponse — Result payload after archiving a sandbox.
  - `ok` boolean — Whether the sandbox was archived successfully.

## Other responses

- `401` — Authentication is required or the provided token is invalid.
- `404` — Sandbox not found or inaccessible.
- `422` — Validation Error
- `503` — Sandbox services are unavailable because server startup is incomplete.

## Changes

- **2026-04-23** `5b9205a115f9` — 1 info
  - endpoint added
- **2026-03-19** `78507b29ed8f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/qredence/apis/fleet-rlm/changes/api/v1/sandboxes/:sandbox_id/archive/post.md)

---

[API](https://skmtc.dev/qredence/apis/fleet-rlm.md) · [All operations](https://skmtc.dev/qredence/apis/fleet-rlm/llms.txt) · [OpenAPI document](https://skmtc.dev/qredence/apis/fleet-rlm/revisions/d82643b26c96?raw)
