set_side_page_state
Publish or unpublish a side page. Set published to true to make the current draft public, or false to hide it while preserving the last-published version for quick re-publishing.
Instructions
Publish or unpublish a side page. published:true publishes the CURRENT DRAFT — it sets the published pointer to the latest draft version, which is how you make draft edits (from edit_side_page / set_side_page_section) live. published:false hides the page publicly but keeps the last-published version marker, so re-publishing with no further edits restores it instantly. The response includes publishedVersionId — the version now live (unchanged from before on unpublish) — so you know exactly which version is public without a follow-up view_side_page call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Parent landing page slug | |
| sideKey | Yes | Side page key | |
| published | Yes | true = publish, false = unpublish |