Skip to main content

Update title or icon

PUT 

/api/documents/:id

Changes the document's title, icon, or both, and returns the updated metadata. Omitted fields stay unchanged; icon must be a single emoji, or null to clear it. Any change bumps updatedAt, a new title is reindexed for search, and editors that have the document open over the WebSocket are told to reload its metadata. The response does not include accessLevel. Requires write access to the document, which includes guests from a write share link; read-only callers get 403.

Request​

Responses​

Updated document.