layout_delete
Delete a layout from a Voog site permanently. Reassign its pages to another layout first, then use force=true.
Instructions
Delete a layout. IRREVERSIBLE — Voog does not retain deleted layouts. Refuses without force=true.
Voog blocks deletion of layouts that still have pages assigned — the API returns an error, the layout is NOT deleted. Reassign those pages first via page_set_layout, then retry. Back up with site_snapshot before this operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| layout_id | Yes | ||
| force | No |