Setting the Pruning Config

Setting the Pruning Config

Set the Pruning Config values

Request
URI
PUT
https://{api_host}/api/v0/settings/pruning
COPY
Request Body
PruningConfig of type(s) application/json
Optional
{
    "enabled": false,
    "days_to_keep": 0
}
boolean
enabled
Optional

enabled

integer
days_to_keep
Optional
Constraints: default: 365

days_to_keep

Responses
200

OK

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v0/settings/pruning