---
title: "Update Entity Attachment"
method: PUT
path: "/v1/entities/{id}/attachments/{attachment_id}"
tags: ["Entities Attachments"]
---

# Update Entity Attachment

`PUT /v1/entities/{id}/attachments/{attachment_id}`

## Path parameters

- `id` string, required
- `attachment_id` string, required

## Request body

- RepoItemAttachmentUpdate
  - `primary` boolean
  - `title` string
  - `type` string

## Response `200`

OK

---

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