You can purge all trash for one or more specific spaces or all spaces in your Confluence instance using Bulk Purge Trash.

Follow these steps to run the built-in script:

  1. Fill out one of the following fields:
    • Select the checkbox for All Spaces to use this built-in script for all new spaces in the instance of Confluence.
    • Fill out Target Space for the space you want to work with.
  2. Select Run.
    You can select Preview instead of Run to view changes before implementing them.
    Once you select Run, the Results of the script appear.

    The two fields that appear for Bulk Purge Trash are All Spaces and Target Spaces. To purge the trash of all spaces, select the checkbox next to All Spaces. To delete trash from specific spaces, fill out the Target Spaces field. You can then Preview or Run to see results.