Mark Release Bundles to Keep (or Don’t Keep)

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Sets the indicator to keep (indefinitely) or not keep (upkeep) Release Bundles.

Security: Requires admin privileges

Usage: POST /artifactory/api/v1/bundle/retention/keep

Produces: application/json

Since: 7.55.1

Sample Usage:

BODY:
{
    "keep": [
        {
            "bundle_name": "rb-2",
            "bundle_version": "ver-23"
        }
    ],

    "unkeep": [
        {
            "bundle_name": "rb-2",
            "bundle_version": "ver-22"
        }
    ]
}