Duplicate Page
duplicate_pageCopy a page with its child pages, attachments, and labels to the same location as a “Copy of …” or into a specified space; comments and history are excluded.
Instructions
Copy a page with its child pages, attachments and labels. Without target_space_id the copy lands next to the original and is titled 'Copy of ...'; with it, the copy goes to the top level of that space under the same title, and clients that can ask the person first do so. Comments and history are not copied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Page id, slug id or Docmost page URL. | |
| target_space_id | No | Copy into this space instead of the same one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||