Contents

Delete Page

delete_page · Tools · Pages

Remove a page and everything on it

Parameters

NameTypeRequiredDescription
expected_revisionintegerYesThe revision list_pages returned.
route_slugstringYesThe page to remove, by its route slug.

Removes a page and every widget on it. A space page takes its children with it.

Nothing about the page is recoverable afterwards, and any link to its route slug stops resolving. Prefer remove_page_widget when the intent is to clear a page rather than remove it.

On by default in the tool group, like every switch; its Destructive risk means the meter asks before it runs.