Delete Page Tree
Using Delete Page Tree, you can delete a page tree (a page and all of its children). Deleted pages will be moved to the trash.
You must have Edit permissions on all the pages you’re trying to delete.
Run the script
To run this script, follow these steps:
Select a Space.
Specify the page tree that you wish to delete in Select a Space.
Select Run.
Result
After you select Run, your results appear: