Get Retention Policy Configuration

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Gets the retention policies that were configured.

Security: Requires admin privileges

Usage: GET: /artifactory/api/v1/bundle/retention/config

Produces: application/json

Since: 7.55.1

Response:

{

    "automatic": false,

    "num_of_versions_to_keep_per_release_bundle": 2,

    "max_days_to_keep": 1100,

    "cron_pattern": "0 0 0 1 1 ? 2099",

    "max_deletions_per_background_run": 100

}