This script provides an example of how you can remove archived spaces from Confluence.
As a Confluence admin, I want to perform housekeeping in my instance to remove any archived spaces
that have not been updated for over a year.
This script sets the 'days' variable to 365, then checks each space to see if it is archived and the last modified date
is more than 365 days ago. If the last modified date is more than 365 days ago, the script ...