---
title: "Archive a card"
method: POST
path: "/cards/{id}/archive"
---

# Archive a card

`POST /cards/{id}/archive`

## Request

- Base URL: `https://craaft.io/api/v1`
- URL: `https://craaft.io/api/v1/cards/{id}/archive`
- Auth: HTTP bearer

Takes the card off the board without deleting it. It stays
searchable and listed under GET /projects/{id}/cards/archived until
restored. Archiving an already-archived card returns 404.

## Response `200`

Archived

- object
  - `archived` boolean, required
  - `id` string, uuid, required

## Other responses

- `404`: Resource doesn't exist or caller isn't a member of its workspace

---

[API](https://skmtc.dev/craaft/apis/craaft-api.md) · [All operations](https://skmtc.dev/craaft/apis/craaft-api/llms.txt) · [OpenAPI document](https://skmtc.dev/craaft/apis/craaft-api/revisions/3a1e9d30d7dc?raw)
