---
title: "Update Asset Attachment"
method: PUT
path: "/assets/{asset_uid}/attachments/{attachment_uid}"
---

# Update Asset Attachment

`PUT /assets/{asset_uid}/attachments/{attachment_uid}`

## Request

- Base URL: `https://dc-region.zuperpro.com/api`
- URL: `https://dc-region.zuperpro.com/api/assets/{asset_uid}/attachments/{attachment_uid}`
- Auth: API key in header `x-api-key`

Replaces the file reference (file_name and url) on an existing attachment. Both fields are mandatory even on update — there is no partial-update/metadata-only path, since the attachment schema has no label/description field beyond file_name/url/file_size.

## Path parameters

- `asset_uid` string, required
- `attachment_uid` string, required

## Request body

- object
  - `attachment` object, required
    - `file_name` string, required
    - `url` string, required
    - `file_size` number

## Response `200`

200

- object
  - `type` string
  - `title` string
  - `message` string
  - `data` object
    - `asset_uid` string
    - `attachment_uid` string

## Other responses

- `404`: 404

## Changes

- **2026-11-03** `3c21bc232e16`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zuper/apis/zuper-pro-api/changes/assets/:asset_uid/attachments/:attachment_uid/put.md)

---

[API](https://skmtc.dev/zuper/apis/zuper-pro-api.md) - [All operations](https://skmtc.dev/zuper/apis/zuper-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zuper/apis/zuper-pro-api/revisions/3c21bc232e16?raw)
