---
title: "Patch an archive for a matter"
method: PATCH
path: "/matters/{matterId}/archive"
tags: ["Matters"]
---

# Patch an archive for a matter

`PATCH /matters/{matterId}/archive`

Updates a specified matter's archive with patch operations.

## Path parameters

- `matterId` string, required

## Request body

- ArchiveDto
  - `archivedDate` string, date-time — Date the matter was archived.
  - `archiveBoxNumber` string, nullable — Archive box number.
  - `archiveComments` string, nullable — Archive comments.
  - `archivedLocation` string, nullable — Archived location.
  - `destroyDate` string, date-time — Date the files of the matter were destroyed.
  - `isArchived` boolean, required — Flag indicating if the matter is archived.

## Response `202`

When request is accepted. Returns a 'Link' object.

- Link
  - `id` string, nullable
  - `href` string, nullable
  - `relation` string, nullable
  - `method` string, nullable

## Other responses

- `400` — When an unsupported request is made.

---

[API](https://skmtc.net/smokeball/apis/api.md) · [All operations](https://skmtc.net/smokeball/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smokeball/api/revisions/197984da9b42/schema)
