Syntax
deletePageTree(pageId);
...
Parameter name | Type | Required | Description |
---|---|---|---|
page ID | number | Yes | ID of the page to be deleted, the whole tree parent page to where this page is a parent will be deleted as well. |
Return type
boolean (true/false)
Returns true if the operation was successful.
...
Example
...
Code Block |
---|
boolean success = deletePageTree(11801); print("Return " + success); |
...