Take site or page offline
unpublishTake the whole site offline (its address 404s for visitors), or with page_slug just one page. Drafts are kept, so it can be published again. This changes what visitors see — only when the owner explicitly asks to take something down, and never to make room for another site's publish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Locale of the page variant. Defaults to 'en'. | |
| site_id | Yes | ||
| page_slug | No | Take ONLY this page offline (e.g. '/about'): its live URL 404s and it leaves the menu, its draft is kept, the rest of the site stays live. Omit to take the WHOLE site offline. |