Configure retention policies
The Pull Server stores every version of configurations and parameters. Over time, this can consume significant storage. Retention policies automatically clean up old versions while preserving the ones you need.
When to use this guide
Use retention policies when you need to:
- Limit disk usage on the Pull Server.
- Automatically remove old configuration versions after deploying newer ones.
- Keep a specific number of recent versions for rollback purposes.
Configure global retention
Using the web UI
- Navigate to Settings → Retention.
- Set the Maximum versions to keep value.
- Choose whether to retain published versions, all versions, or only the latest.
- Click Save.

Using PowerShell
Invoke-RestMethod -Uri 'http://localhost:5000/api/v1/settings/retention' `
-Method Put -ContentType 'application/json' `
-Body (@{
enabled = $true
keepVersions = 5
keepDays = 90
keepReleaseVersions = $true
} | ConvertTo-Json) `
-WebSession $session
Per-configuration retention
You can override the global retention policy for individual configurations:
Using the web UI
- Navigate to Configurations and click on the configuration.
- Under Settings, configure the retention policy.
- Click Save.
