Hello, im trying to delete old versions of a page.for that, im trying to list all of the versions and delete themunfortunately, im not able to retrieve all of the versions.I am using confluence on-prem and not cloud one.Thank you!
Hi @john wick and welcome,
you should be able to do that if you have edit permission on a specific page. If so, you should be able to retrieve all old version through page history button :
Hope this helps,
Fabio
Hi @Fabio Racobaldo _Catworkx_ i wish to do this from the API.is there an endpoint for this?
Thanks
To delete via the API the documentation is here:
https://developer.atlassian.com/server/confluence/rest/v900/api-group-content-version/#api-rest-api-content-id-version-versionnumber-delete
curl --request DELETE \ --url 'http://{baseurl}/confluence/rest/api/content/{id}/version/{versionNumber}'
It looks like you're new here. Sign in or register to get started.