---
title: "Archive a deck (Markdown)"
method: POST
path: "/dev/decks/{deckId}/archive"
---

# Archive a deck (Markdown)

`POST /dev/decks/{deckId}/archive`

## Request

- Base URL: `https://fluidrecall.com/api/v1`
- URL: `https://fluidrecall.com/api/v1/dev/decks/{deckId}/archive`
- Auth: one of:
  - HTTP bearer
  - HTTP dpop

Write. Soft-archive a deck this token owns. Body may be {}. A second call returns the same archivedAt with alreadyArchived true. listDue skips the deck. Reveal, get, patch, a new review, and inventory return 404. Another token's deck is 404.

## Path parameters

- `deckId` string, uuid, required

## Request body

- object

## Response `200`

Markdown receipt with archivedAt and alreadyArchived.

## Other responses

- `400`: Invalid JSON or fields.
- `401`: Missing or wrong token.
- `404`: No deck with that id for this token.

---

[API](https://skmtc.dev/fluidrecall/apis/fluid-recall.md) · [All operations](https://skmtc.dev/fluidrecall/apis/fluid-recall/llms.txt) · [OpenAPI document](https://skmtc.dev/fluidrecall/apis/fluid-recall/revisions/7bf2563c3d2a?raw)
