Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • pageId - Confluence Page ID

  • isBlogPost

    • false

    • true

  • versionsKeep → Minimum latest number of the version to retain. (Default: 100).

  • daysKeep → Delete versions older than this number of days. (Default: 365 days).

  • authorName → (Optional) Purge only specific comma separated Confluence user versionsnames.

  • skipCommented

    • false

    • true

  • dryRun

    • false

    • true

Status
colourYellow
titleDELETE
http://localhost:8090/rest/purgepageversions/1.0/utility/v2/purge/attachment/version/summary

...

  • pageId - Confluence Page ID

  • isBlogPost

    • false

    • true

  • versionsKeep → Minimum latest number of the version to retain. (Default: 100).

  • daysKeep → Delete versions older than this number of days. (Default: 365 days).

  • authorName → (Optional) Purge only specific Confluence user versions.

  • fileName → (Optional) Purge only specific Confluence attachment file name.

  • skipCommented

    • false

    • true

  • dryRun

    • false

    • true

Status
colourYellow
titleDELETE
http://localhost:8090/rest/purgepageversions/1.0/utility/v2/purge/space/version/summary

...

  • spaceKey - Confluence Space Key

  • purgeType

    • attachmentpageattachment

    • page (Default)

    isBlogPost
    • blogpost

    • falseblogpostattachment

    • truetrash

  • versionsKeep → Minimum latest number of the version to retain. (Default: 100).

  • daysKeep → Delete versions older than this number of days. (Default: 365 days).

  • pageLimit → Maximum number of the latest updated or created pages to process. (Default: 1).

  • authorName → (Optional) Purge only specific comma separated Confluence user versionsnames.

  • dryRunskipCommented

    • false

    • true

  • includeTrashdryRun

    • false

    • true

Status
colourYellow
titleDELETE
http://localhost:8090/rest/purgepageversions/1.0/utility/v2/purge/all/spaces/version/summary

Required permission: Confluence admin
Query Parameters:

  • purgeType

    • attachmentpageattachment

    • page (Default)

    isBlogPost
    • blogpost

    • falseblogpostattachment

    • truetrash

  • versionsKeep → Minimum latest number of the version to retain. (Default: 100).

  • daysKeep → Delete versions older than this number of days. (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.

  • dryRunskipCommented

    • false

    • true

  • includeTrashdryRun

    • false

    • true

Info

Legacy (Deprecated)

  • These endpoints processes all the pages (including pages in trash) in space.

  • Consumes more CPU if more than 25K pages.

...

  • spaceKey - Confluence Space Key

  • purgeType

    • attachment

    • page

  • isBlogPost

    • false

    • true

  • versionsKeep → Minimum latest number of the version to retain. (Default: 100).

  • daysKeep → Delete versions older than this number of days. (Default: 365 days).

  • authorName → (Optional) Purge only specific Confluence user versions.

  • skipCommented

    • false

    • true

  • dryRun

    • false

    • true

  • To purge trash attachments

    • trashLimit → default 1000.

    • includeTrash

      • false

      • true

...

  • purgeType

    • attachment

    • page

  • isBlogPost

    • false

    • true

  • versionsKeep → Minimum latest number of the version to retain. (Default: 100).

  • daysKeep → Delete versions older than this number of days. (Default: 365 days).

  • authorName → (Optional) Purge only specific Confluence user versions.

  • skipCommented

    • false

    • true

  • dryRun

    • false

    • true

  • To purge trash attachments

    • trashLimit → default 1000.

    • includeTrash

      • false

      • true