---
title: "Archive Memory"
method: DELETE
path: "/v1/memories/{path}"
tags: ["memories"]
---

# Archive Memory

`DELETE /v1/memories/{path}`

## Request

- Base URL: `https://api.heirmos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.heirmos.com/v1/memories/{path}`
- Auth: HTTP bearer

## Path parameters

- `path` string, required

## Query parameters

- `purge` boolean

## Response `200`

Successful Response

- union
  - MemoryArchiveResponse: DELETE /v1/memories/{path:path} response — SPEC §5.3 line 426-429.
    - `archived` boolean, required
    - `path` string, required
    - `archived_at` string, date-time, required
  - MemoryPurgeResponse: DELETE /v1/memories/{path:path}?purge=true response — hard delete. SPEC §14.9 EXCEPTION (2026-06-10, owner-approved): permanent removal of an already-archived memory from the 보관함. Distinct from MemoryArchiveResponse (which is reversible) — there is no ``archived_at`` because the row is gone.
    - `purged` boolean, required
    - `path` string, required
    - `rows_deleted` integer, required

## Other responses

- `422`: Validation Error

---

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