removeContentVersions

See also: Actions

Description

Remove multiple versions from the revision history of some content like a page or blog. Server supports pages only. Use limit to remove versions except for the last limit versions. Use date to remove versions created before that date. Use regex parameter to remove versions whose edit message (comment) matches the pattern. Use '--options just1=day' to remove versions except for the last version created each day and similarly for week, month, and year. If multiple criteria are specified, all must be met. A numeric attachment id can substitute for the attachment name. By default, a CSV output lists each attachment version indicating versions selected and why - use quiet parameter to suppress the output. Use the simulate parameter to log the details without running the removal so you can verify your selection criteria.

Required Parameters

((space and title) or id)

Optional Parameters

date, limit, regex, dayOfMonth, month, year, dateFormat, simulate, quiet, outputType, file, append, columns, encoding

Type

Delete

Category

Content

Output Formats

Replacement Variables

Hostingcloud,server,datacenter
Since Version8.6

Examples

removeContentVersions

Related How To's

Log a request with our support team.

Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.