Delete pages
delete_pagesDelete one or more pages of a template, with their layers and motion. Every page is checked before any is deleted: an unknown id, or a call that would delete every page of a template (a template keeps at least one), refuses the whole call and nothing is deleted. Deleted pages cannot be brought back, not even with undo; confirm with the user first. Returns the deleted page_ids and their template_ids. Use it to remove sizes or variants the user no longer wants; to remove layers inside a page use delete_layers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_ids | Yes | The pages, from list_pages or create_design. |