Syntax
deletePageTree(pageId);
Description
Deletes the selected page and all its child pages.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
page ID | number | Yes | ID of page tree parent page to be deleted. |
Return type
boolean (true/false)
Returns true if the operation was successful.
Example
Example 1
boolean success = deletePageTree(11801); print("Return " + success);
See also