Is there any way to delete a Confluence page and have it delete all of its children at once?
Asked
Active
Viewed 2,408 times
4 Answers
2
You can do it easily with WebDav. Instructions for installing and setting up the WebDAV plugin can be found here.
- The confluence webdav endpoint is:
https://<server>/confluence/plugins/servlet/confluence/default/Global/ - You can map it to a drive letter in explorer,
- Or access with eg Total Commander and davplug.wfx, or some other DAV client
Then just delete the directory corresponding to the page!
mrtsherman
- 366
Vladimir Alexiev
- 252
0
Yu can do this through the API by basically scripting it yourself.
The SOAP API supports:
- deleting a page
- getting all the children of a page
So between 1 and 2, you can keep recursively getting children and deleting these pages.
Be careful as this could be dangerous and wipe out lots of pages by accident if you have it start from the wrong page (although Confluence does have a recover feature.)
Peter Mortensen
- 12,326
leora
- 6,193