layout_delete
Permanently delete a layout. If pages are assigned, reassign them first and set force=true to bypass the block.
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 |