How to delete all empty pages from confluence? Is there any automated solution?
Hello Varun and welcome to the Community!
You may utilize the API to request all pages from within a space. You would use the GET Content call. Once you have all pages from space you can filter out any pages which have the following example of a page with no content:
"body": {"view": {"value": "”}}
From this, you can then obtain the contentId for each of those pages you wish to delete. Once you have the contentId you would then use the DELETE REST API call.
If working with the API is not desirable, then we would suggest reviewing the Atlassian Marketplace to see available plugins. You may search the marketplace at https://marketplace.atlassian.com/.
I hope this is helpful in providing guidance on how to search for and delete Confluence pages with no content.
Regards,
Stephen Sifers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.