update_doc_page
Overwrite existing Doc page content in ClickUp to correct errors, avoiding orphaned docs because the API lacks a delete endpoint. Keeps the same URL.
Instructions
Overwrite an existing Doc page's content in place, and return its URL.
Use this to correct a previously published Doc (wrong content, a bad title) instead of calling create_doc again — the v3 Docs API has no delete endpoint, so a second create_doc call orphans the first Doc with no way to remove it. This edits the original doc_id/page_id directly, so the existing URL keeps working.
Always replaces the full page content — the underlying API also supports append/prepend edit modes, but this tool doesn't expose them: the shared HTTP client retries transport failures, and a retry after a lost response (server applied the edit, client never saw it) would silently double-apply an append/prepend. A retried replace converges to the same content either way, so it's safe.
Args: doc_id: The Doc's ID, as returned by create_doc. page_id: The page's ID, as returned by create_doc. content: New page content, replacing the page in full. name: New page title. Leave unset to keep the existing title. content_format: "text/md" (default) or "text/plain".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| doc_id | Yes | ||
| content | Yes | ||
| page_id | Yes | ||
| content_format | No | text/md |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |