update_document
Update document metadata (title and description). This does not create a new HTML version — usepublish_document to change content.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
document_id | uuid | Yes | The document to update |
title | string | No | New title (1–500 characters) |
description | string | No | New description (up to 2000 characters), or null to clear |
title or description must be provided.
Returns
JSON document object as text (same shape asPATCH /api/v1/documents/:id).
Example
Notes
- Maps to
PATCH /api/v1/documents/:idon the REST API. - Does not change what recipients see on the share link — only the published HTML does.