GET http://localhost:8090/rest/purgepageversions/1.0/utility/list/version/summary
Query Parameters:
pageId - Confluence Page ID
versionType
attachment
page (Default)
DELETE http://localhost:8090/rest/purgepageversions/1.0/utility/v2/purge/page/version/summary
Query Parameters:
pageId - Confluence Page ID
versionsKeep → Minimum latest number of the version to retain. (Default: 100).
daysKeep → Latest number of the version to retain. (Default: 365 days).
authorName → (Optional) Purge only specific Confluence user versions.
DELETE http://localhost:8090/rest/purgepageversions/1.0/utility/v2/purge/attachment/version/summary
Query Parameters:
pageId - Confluence Page ID
versionsKeep → Minimum latest number of the version to retain. (Default: 100).
daysKeep → Latest number of the version to retain. (Default: 365 days).
authorName → (Optional) Purge only specific Confluence user versions.
fileName → (Optional) Purge only specific Confluence attachment file name.
DELETE http://localhost:8090/rest/purgepageversions/1.0/utility/v2/purge/space/version/summary
Query Parameters:
spaceKey - Confluence Space Key
versionType
attachment
page (Default)
versionsKeep → Minimum latest number of the version to retain. (Default: 100).
daysKeep → Latest number of the version to retain. (Default: 365 days).
pageLimit → Maximum number of the latest updated or created pages to process. (Default: 1).
authorName → (Optional) Purge only specific Confluence user versions.
DELETE http://localhost:8090/rest/purgepageversions/1.0/utility/v2/purge/all/spaces/version/summary
Query Parameters:
versionType
attachment
page (Default)
versionsKeep → Minimum latest number of the version to retain. (Default: 100).
daysKeep → Latest number of the version to retain. (Default: 365 days).
pageLimit → Maximum number of the latest updated or created pages to process. (Default: 1).
authorName → (Optional) Purge only specific Confluence user versions.
Legacy
These endpoints processes all the pages (including pages in trash) in space.
Consumes more CPU if more than 25K pages.
DELETE http://localhost:8090/rest/purgepageversions/1.0/utility/v2/purge/space/version/legacy
Query Parameters:
spaceKey - Confluence Space Key
versionType
attachment
page (Default)
daysKeep → Latest number of the days to retain. (Default: 365 days).
authorName → (Optional) Purge only specific Confluence user versions.
DELETE http://localhost:8090/rest/purgepageversions/1.0/utility/v2/purge/all/spaces/version/legacy
Query Parameters:
versionType
attachment
page (Default)
daysKeep → Latest number of the days to retain. (Default: 365 days).
authorName → (Optional) Purge only specific Confluence user versions.