Delete Pages
Use Delete Pages to move a page (or pages) and all of its children to the trash. This built-in script works around an issue where deleting a page with child pages caused the child pages to move to the top level of the space.
Using this built-in script requires remove privileges to each page you are trying to remove. If you don't have permission for one of the pages, then no pages are removed.
Run the script
Follow these steps to run the built-in script:
Enter the Space to view the contained pages.
Select the Pages you want to delete when the field appears.
If you do not select any checkboxes, an error appears that says "No space or pages provided."
Select Run.
You can select Preview instead of Run to view changes before implementing them.
Results
Once you select Run, the Results of the script appear.