---
title: "Update existing attachment."
method: PUT
path: "/v1/attachments/{id}"
tags: ["attachments"]
---

# Update existing attachment.

`PUT /v1/attachments/{id}`

Update the meta data for an existing attachment. This endpoint does not allow you to upload or download data. For that, see below.

## Path parameters

- `id` string, required

## Headers

- `X-Trace-Id` string, uuid

## Request body

- AttachmentUpdate
  - `filename` string, string
  - `title` string, string
  - `notes` string, string, nullable

## Response `200`

Updated attachment stored, result in response

## Other responses

- `400` — Bad request
- `401` — Unauthenticated
- `404` — Page not found
- `422` — Validation error. The body will have the exact details.
- `500` — Internal exception

---

[API](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop.md) · [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/firefly-iii/firefly-iii-api-develop/revisions/8a1f6472e04b/schema)
