We're running Confluence 7.11. I have a page that has over 5000 versions in the page history. Obviously, deleting each page version 1 by 1 by point and click is a non-starter. Google is not showing any workable answers. What is the right way/url to delete a specific page history version using the REST API?
I've tried the following URL approaches and none have been successful:
It's been a long time but I finally figured part of this out. I ended up re-writing my purge prior history program in Python3. With the use of the Atlassian Confluence API, it provides a method for deleting prior versions. ie:
Even though this isn't a shell/curl solution, it works well. If you're curious, the REST API URL it uses inside the Atlassian library is of the form:
It doesn't work for me. I get this error:
"HTTP Status 405 – Method Not Allowed
The method received in the request-line is known by the origin server but not supported by the target resource."
The url I used was: https://confluenceblah.blah/wiki/rest/api/content/1048446960/version/2
Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events