You can use the Confluence Command Line Interface removePage action. Another option is to go to another page and look at the link that is produced for tools -> remove page. Copy/paste and replace the page id with the page id of the page you want to delete. You need the page id of the bad page - query the contents table to get that or run something like:
--action getPageList --space spacekey --title "bad page" --children --outputFormat 2
By the way, you might want to use getPageSource first to save the page data.
I found a much easier way of doing this in case anyone else is looking for it. Create a new Dummy page under the same space and using Page Reorder under Content Tools move the page to be deleted under the newly created Dummy page. Delete the Dummy page and the child page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, that really was easy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the new update, the parent page adopts the child pages
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Possibly even easier solution:
Go te reorder pages, drag the to-be-deleted page to the same level as the "home" page.
Go to orphaned pages, remove the page with the bin button.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Another option is to use the {link-to} macro from the Linking Page. In that case, you just need the page name. Just add it to another page somewhere in Confluence (in the same Space is the simplest) like so:
{link-to:page remove|page=Name Of Page I Want To Remove}Remove Bad Page{link-to}
Then, just follow the link, and it will ask you to confirm you want to delete the page. Say 'Yes', and you're good to go.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.