---
title: "Update attachment caption or photo markup"
method: PATCH
path: "/v1/work-orders/{id}/attachments/{attId}"
tags: ["Work Orders"]
---

# Update attachment caption or photo markup

`PATCH /v1/work-orders/{id}/attachments/{attId}`

## Path parameters

- `id` string, required
- `attId` string, required

## Request body

- object
  - `caption` string
  - `category` 'before' | 'during' | 'after' | 'inspection' | 'other'
  - `annotations` object[]
    - `type` 'arrow' | 'line'
    - `x1` number
    - `y1` number
    - `x2` number
    - `y2` number
    - `color` string

## Response `200`

Default Response

---

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