Description:Sets the retention policies that were configured. If a Release Bundle meets one or more of the retention policies configured, the policy will be applied to it.
Note that you can set a partial configuration, but you cannot ‘unset’ a value - instead you will need to override it to change it.
Security: Requires admin privileges
Usage: POST /artifactory/api/v1/bundle/retention/config
Produces: N/A
Since: 7.55.1
Sample Usage:
BODY: { "automatic": true, "num_of_versions_to_keep_per_release_bundle": 2, "max_days_to_keep": 1100, "cron_pattern": "0 0 0 ? * SUN *", "max_deletions_per_background_run": 1000 }