---
title: "Set attachment"
method: PUT
path: "/patients/{id}/attachments/{name}"
tags: ["Patients"]
---

# Set attachment

`PUT /patients/{id}/attachments/{name}`

Attach a file to the given DICOM patient. This call will fail if trying to modify a system attachment (i.e. whose index is < 1024).

## Path parameters

- `id` string, required
- `name` string, required

## Headers

- `If-Match` string

## Response `200`

- unknown

---

[API](https://skmtc.net/orthancserver/apis/orthanc-server.md) · [All operations](https://skmtc.net/orthancserver/apis/orthanc-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/orthancserver/orthanc-server/versions/af646f6f871b/schema)
