How to delete old page versions in Confluence Cloud

By Kayabyte · Updated 1 November 2026

Short answer: Confluence Cloud has no bulk delete for page versions and no setting that keeps only the newest N versions; both are open requests (CONFCLOUD-46541 and CONFCLOUD-27701, both Gathering Interest when checked on 1 November 2026). You can delete one page version at a time from the page history, delete old attachment versions from a page’s attachment list, or script the REST API. Pruner: Version History Cleanup for Confluence, in Atlassian Marketplace review and not yet available, applies a keep-the-newest-N policy to pages and attachments, with a preview.

A page that has been edited for years can have hundreds of versions, and every version of an attachment is a full copy of the file. This guide covers what Confluence Cloud can do on its own, where each option stops, and what a retention policy needs.

Option 1: delete versions one by one in the page history

  1. Open the page and open its page history (the version list).
  2. Select Delete next to a version you no longer need and confirm.

Things to know:

Option 2: delete old attachment versions

Attachments are usually where the storage goes, because every upload of a changed file adds a version.

  1. Open the page, open Show details from the floating toolbar and select Attachments.
  2. Expand the attachment to list its versions.
  3. Select Delete next to a version and confirm.

Deleting a specific version needs the Space Administrator permission; deleting a whole file only needs Delete Attachment. A deleted version can’t be restored (Atlassian: manage uploaded files).

Again this is one attachment on one page at a time.

Option 3: script the REST API

Confluence Cloud has a REST call that deletes one version of a page: DELETE /wiki/rest/api/content/{id}/version/{versionNumber} (Confluence Cloud REST API, content versions). A script that cleans a space would:

  1. List the pages in the space (GET /wiki/api/v2/spaces/{id}/pages) and follow the pagination links.
  2. For each page, list its versions (GET /wiki/api/v2/pages/{id}/versions).
  3. Decide which versions to delete, for example everything except the newest 10 that is also older than 90 days.
  4. Delete them with the call above. Because version numbers can change after a delete, read the list again between calls, or always delete the oldest.
  5. Do the same for attachment versions.

Atlassian has a KB article for the attachment side. It is provided as-is without support, and it deletes every version of the attachment, not only the old ones (Atlassian KB: delete attachments by date).

Where a script stops:

What a retention policy needs

Whatever you use, decide these first:

Pruner: Version History Cleanup for Confluence

Pruner is the app I make for this. It is a retention policy for Confluence Cloud page and attachment versions.

Deleted versions can’t be restored, so use the preview first. Page text versions are small; the storage figure in the preview is the attachment versions. Confluence updates its own storage figure on its own schedule, usually within a few hours.

Pruner is in Atlassian Marketplace review and not yet available to install. I’ll update this guide when it is.

FAQ

Can Confluence Cloud delete old page versions in bulk? No. There is no bulk delete and no setting to keep only the newest versions; both are open requests (CONFCLOUD-46541 and CONFCLOUD-27701). You can delete versions one at a time, or script the REST API.

Can I restore a deleted page version? No. Deleted versions don’t go to the trash and can’t be restored. Deleted attachment versions can’t be restored either.

Who can delete an old attachment version? Someone with the Space Administrator permission. Deleting a whole file needs Delete Attachment.

Why did the version numbers change after I deleted versions? Version numbers can change after a delete. The content of each remaining version is unchanged.

Does deleting versions free storage straight away? Not always. Atlassian says the storage figure is updated only every 4 hours.

Confluence and Atlassian are trademarks of Atlassian. Kayabyte is an independent developer and is not affiliated with or endorsed by Atlassian.