---
title: "Update Attachment"
method: PATCH
path: "/api/cards/{card_id}/attachments/{attachment_id}"
tags: ["dashboards"]
---

# Update Attachment

`PATCH /api/cards/{card_id}/attachments/{attachment_id}`

## Request

- Base URL: `https://app.ctlsurf.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.ctlsurf.com/api/cards/{card_id}/attachments/{attachment_id}`
- Auth: HTTP bearer

## Path parameters

- `card_id` string, uuid, required
- `attachment_id` string, uuid, required

## Request body

- AttachmentUpdate
  - `label` string, nullable
  - `role` 'draft' | 'sent' | 'client_redline' | 'signed' | 'amendment' | 'backup' | 'other', nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ctlsurf/apis/notebook-control-plane.md) · [All operations](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/revisions/ddfbbe20d5ce?raw)
