Update a document
update_docChange a document title, body, collection, parent, project or visibility. Only the fields you pass are touched. Filing a document under a collection detaches it from any project, and attaching it to a project unfiles it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | A document id, or its exact title. | |
| title | No | ||
| parent | No | Document id or title to nest under. Pass null to move it to the top level. | |
| content | No | Replaces the whole Markdown body, or the whole HTML page. | |
| project | No | Project name, slug or id. Pass null to detach. | |
| collection | No | Collection id or name. Pass null to unfile the document. | |
| visibility | No | Who can reach the document. "workspace" is in-app, "members" is a signed-in published URL, "link" and "public" are on the web. |