Bulk Purge Trash

Use this script to purge all trash for specific spaces or all spaces in your Confluence instance that you have admin permissions to. 

Run this script

Follow these steps to run the built-in script:

  1. Select Space Tools from the bottom left-hand corner of the screen.
  2. Select Advanced Space Functionality.
  3. Select Bulk Purge Trash.
  4. Select an option for Trash to Delete.
    • All Spaces

      This option only purges the trash in the spaces you have permission to do so.

      If you have Confluence System Administrator access, it purges the trash of all spaces in the instance of Confluence.

    • Select Spaces, and then enter the spaces in Space(s)

      You can only select spaces where you have administrator permissions.

  5. 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.

Example

Purge all trash

Follow these steps to delete all the trash were you have admin permissions in your Confluence instance: 

  1. Select Space Tools from the bottom left-hand corner of the screen.
  2. Select Advanced Space Functionality.
  3. Select Bulk Purge Trash.
  4. Select All Spaces for Trash to Delete
  5. Select Run.

Results

The results of this script follow:

On this page