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.
CAUTION: 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:
Once you select Run, the Result of the script appears.