Getting the Pruning Config

Getting the Pruning Config

Get the current pruning settings

Request
URI
GET
https://{api_host}/api/v0/settings/pruning
COPY
Responses
200

OK

Returns PruningConfig of type(s) application/json
{
    "enabled": false,
    "days_to_keep": 0
}
boolean
enabled
Optional

enabled

integer
days_to_keep
Optional
Constraints: default: 365

days_to_keep


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/v0/settings/pruning