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

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Sets the indicator to keep (indefinitely) or not keep (unkeep) 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"
        }
    ]
}