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 GHOH 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.