GET http://localhost:8090/rest/purgepageversions/1.0/utility/list/version/summary
Query Parameters:
pageId - Confluence Page ID
versionType
attachment
page
Version 2 (Latest)
DELETE http://localhost:8090/rest/purgepageversions/1.0/utility/v2/purge/page/version/summary
Query Parameters:
pageId - Confluence Page ID
daysKeep → Latest number of the version to retain. (default: 365 days)
authorFilter → 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
daysKeep → Latest number of the version to retain. (default: 365 days)
authorFilter → Purge only specific Confluence user versions
DELETE http://localhost:8090/rest/purgepageversions/1.0/utility/v2/purge/space/version/summary
Query Parameters:
spaceKey - Confluence Space Key
versionType
attachment
page
daysKeep → Latest number of the version to retain. (default: 365 days)
lastDays → Pages Updated or Created Max last number of the days to process. (default: 1 days)
pageLimit → Max number of the pages to process. (default: 1)
authorFilter → 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
daysKeep → Latest number of the version to retain. (default: 365 days)
lastDays → Pages Updated or Created Max last number of the days to process. (default: 1 days)
pageLimit → Max number of the pages to process. (default: 1)
authorFilter → Purge only specific Confluence user versions
Version 1
DELETE http://localhost:8090/rest/purgepageversions/1.0/utility/v1/purge/page/version/summary
Query Parameters:
pageId - Confluence Page ID
versionsKeep → Latest number of the version to retain
authorFilter → Purge only specific Confluence user versions
DELETE http://localhost:8090/rest/purgepageversions/1.0/utility/v1/purge/attachment/version/summary
Query Parameters:
pageId - Confluence Page ID
versionsKeep → Latest number of the version to retain
fileNameFilter → Purge only specific Confluence Attachment versions
DELETE http://localhost:8090/rest/purgepageversions/1.0/utility/v1/purge/space/version/summary
Query Parameters:
spaceKey - Confluence Space Key
versionType
attachment
page
versionsKeep → Latest number of the version to retain
lastDays → Pages Updated or Created Max last number of the days to process. (default: 1 days)
pageLimit → Max number of the pages to process. (default: 1)
authorFilter → Purge only specific Confluence user versions
DELETE http://localhost:8090/rest/purgepageversions/1.0/utility/v1/purge/all/spaces/version/summary
Query Parameters:
versionType
attachment
page
versionsKeep → Latest number of the version to retain.
lastDays → Pages Updated or Created Max last number of the days to process. (default: 1 days)
pageLimit → Max number of the pages to process. (default: 1)
authorFilter → Purge only specific Confluence user versions
Legacy
These endpoints processes all the pages 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
daysKeep → Latest number of the days to retain. (default: 365 days)
authorFilter → 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
daysKeep → Latest number of the days to retain
authorFilter → Purge only specific Confluence user versions