If you find yourself feeling like Confluence is spamming your team mailbox or putting load on our mail exchange server unnecessary, you might want to have a way to reset existing watchers for all pages. Once done that, whoever needs to get notifications can watch the pages once again.
Instructions
The below steps you allow you to be able to remove watchers of all pages in the confluence.
First get the all page watchers using below CLI command.
--action runFromPageList --space @all --common "--action getWatchList --id @pageId@ --columns 3,5 --file pageswatchers.csv --append"
Please change csv file headers as shown below.
"id","userId" "348454915","automation" "348454922","automation" "348553256","automation" "348454917","automation" "320114779","automation" "313295895","admin" "327685","admin"
Next, run the below action to remove all the page watchers.
--action runFromCsv --file pageswatchers.csv --common "--action removeWatch" --continue
Additionally, if you are looking to remove all the space watchers then it is not possible to lack of API. There’s an open issue on Atlassian side: https://jira.atlassian.com/browse/CONFSERVER-52739.