---
title: "Update the document"
method: PUT
path: "/api/document/{id}"
tags: ["documents"]
---

# Update the document

`PUT /api/document/{id}`

Update the document

## Path parameters

- `id` string, required

## Query parameters

- `create` boolean

## Response `200`

Saved

- object

## Changes

- **2026-07-17** `07216792837f` — 1 info
  - endpoint added
- **2020-10-14** `b70359972942` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/eeditiones/apis/tei-publisher-documentation-and-demo/changes/api/document/:id/put.md)

---

[API](https://skmtc.dev/eeditiones/apis/tei-publisher-documentation-and-demo.md) · [All operations](https://skmtc.dev/eeditiones/apis/tei-publisher-documentation-and-demo/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/eeditiones/tei-publisher-documentation-and-demo/revisions/07216792837f/schema)
