---
title: "Update attachment"
method: POST
path: "/document/attachment/update"
tags: ["Document"]
deprecated: true
---

# Update attachment

`POST /document/attachment/update`

> **Deprecated.**

Deprecated: this endpoint is being replaced by the Envelope API. See https://docs.documenso.com/docs/developers/api/migrate-to-envelopes for the migration guide. Update an existing attachment

## Request body

- object
  - `id` string, required
  - `data` object, required
    - `label` string, required
    - `data` string, uri, required

## Response `200`

Successful response

- object
  - `success` boolean, required

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `500` — Internal server error

## Changes

> 3 revisions in range; 1 could not be searched.

- **2026-07-31** `9950884fbf5d` — 1 info
  - endpoint deprecated

[Change history](https://skmtc.dev/documenso/apis/documenso-v2-api/changes/document/attachment/update/post.md)

---

[API](https://skmtc.dev/documenso/apis/documenso-v2-api.md) · [All operations](https://skmtc.dev/documenso/apis/documenso-v2-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/documenso/documenso-v2-api/revisions/3db245102197/schema)
