I wants to delete all trashed page from confluence space in oneshot, using REST-API using java/python or BATCH file or SHELL script anything should be fine.
Hi @AMARJIT GHOSH and welcome,
you need first to retrieve pages in trash using :
https://YOUR_CONFLUENCE_URL/wiki/rest/api/content?spaceKey=NSTC&type=page&status=trashed"
and then delete each page through :
https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-id-delete
Hope this helps,
Fabio
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.