set_subpage_order
Set the left-to-right order of a page's immediate child pages by passing an array of child page IDs. An empty array clears the manual order and restores the Collective default sort.
Instructions
Set the explicit left-to-right ordering of a page's immediate child pages. Every id must be a direct child of the page; duplicates are rejected. Pass an empty array to clear the manual order and fall back to the Collective sort. Only takes effect for users whose page order is set to "byOrder".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The parent page whose children are being ordered. | |
| collectiveId | Yes | ||
| subpageOrder | Yes | Child page ids in the desired order. Empty array clears the manual order. |