---
title: "Restore an archived deck"
method: POST
path: "/decks/{deckId}/unarchive"
---

# Restore an archived deck

`POST /decks/{deckId}/unarchive`

## Request

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

Write. Clear archivedAt on a deck this token owns. Body may be {}. Cards keep their existing dueAt. The deck returns to listDecks and listDue. A call on a deck that is not archived returns archivedAt null and alreadyActive true. Another token's deck is 404.

## Path parameters

- `deckId` string, uuid, required

## Request body

- object

## Response `200`

The deck is active again.

- object
  - `deckId` string, uuid, required
  - `archivedAt` unknown, required
  - `alreadyActive` boolean, required

## Other responses

- `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)
