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

# Update an archive for a matter.

`PUT /matters/{matterId}/archive`

## Request

- Base URL: `https://api.smokeball.com`
- URL: `https://api.smokeball.com/matters/{matterId}/archive`
- Auth: API key in header `x-api-key` and API key in header `Authorization`

Updates a specified matter's archive

## 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.dev/smokeball/apis/smokeball-api.md) - [All operations](https://skmtc.dev/smokeball/apis/smokeball-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smokeball/apis/smokeball-api/revisions/6e350cf667d4?raw)
