Delete a page
delete_pageDelete ONE page from a site's design. Links to it are removed from the other pages and it leaves the navigation. It goes to the site's trash and is recorded in version history, so it can be restored. The home page cannot be deleted. Publish for visitors to stop seeing it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The page's slug, e.g. "/about" (get_site lists them). The home page cannot be deleted. | |
| site_id | Yes | The site to act on | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| variation_id | No | The design to change. Omit for the site's live design. |