---
title: "Update patient attachment"
method: PATCH
path: "/patient_attachments/{id}"
tags: ["Patient Attachment"]
---

# Update patient attachment

`PATCH /patient_attachments/{id}`

## Path parameters

- `id` string, int64, required

## Request body

- union
  - FullPatientExportBody
    - `description` string, nullable
  - UploadedPatientAttachmentBody
    - `description` string, nullable

## Response `200`

Resource was updated

- union
  - object
    - `archived_at` string, date-time, nullable
    - `content` object, nullable
      - `links` object
        - `self` string, uri
    - `content_type` string, nullable — mime type
    - `created_at` string, date-time
    - `description` string, nullable
    - `filename` string, nullable
    - `id` string, int64
    - `links` object
      - `self` string, uri
    - `patient` object
      - `links` object
        - `self` string, uri
    - `pinned_at` string, date-time, nullable
    - `processed_at` string, date-time, nullable
    - `processing_completed` boolean, nullable
    - `size` string, int64, nullable
    - `updated_at` string, date-time
    - `user` object
      - `links` object
        - `self` string, uri
  - object
    - `archived_at` string, date-time, nullable
    - `content` object, nullable
      - `links` object
        - `self` string, uri
    - `content_type` string, nullable
    - `created_at` string, date-time
    - `description` string, nullable
    - `filename` string, nullable
    - `id` string, int64
    - `links` object
      - `self` string, uri
    - `patient` object
      - `links` object
        - `self` string, uri
    - `pinned_at` string, date-time, nullable
    - `processed_at` string, date-time, nullable
    - `processing_completed` boolean, nullable
    - `size` string, int64, nullable
    - `updated_at` string, date-time
    - `user` object
      - `links` object
        - `self` string, uri

## Other responses

- `422` — Resource could not be saved due to validation errors

---

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