Query the Status of the Retention Service

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Gets the activation status of the retention policies.

Warning

If enable is set to false, any bundles can be deleted even if they have been marked as keep (i.e., their keep status will be ignored).

Security: Requires admin privileges

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

Produces: application/json

Since: 7.55.1

Response:

{
    "enable": true|false
}