Bulk Purge Trash
Use this script to purge all trash for specific spaces or all spaces in your Confluence instance.
Run this script
Follow these steps to run the built-in script:
- Select an option for Trash to Delete.
- All Spaces
- Select Spaces, and then enter the spaces in Space(s).
Select Run.
You can select Preview instead of Run to view changes before implementing them.
![](/sr4c/files/8.2.1/169349139/169349136/1/1681492604000/bulk_purge_trash.png)
Results
Once you select Run, the Results of the script appear.
Example
Purge all trash
Follow these steps to delete all trash in your Confluence instance:
- Select All Spaces for Trash to Delete.
- Select Run.
![](/sr4c/files/8.2.1/169349139/169349137/1/1681492604000/purge_trash_example.png)
Results
The results of this script follow:
![](/sr4c/files/8.2.1/169349139/169349138/1/1681492604000/purge_trash_results.png)