--- title: "ProtectionServices age_to_purge Key" slug: "protectionservices-age-to-purge-key" updated: 2026-09-08T19:11:22Z published: 2026-09-08T19:11:22Z canonical: "docs.trellix.com/protectionservices-age-to-purge-key" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # ProtectionServices age_to_purge Key The `age_to_purge` key defines how long quarantine files are stored on your host endpoint before they are removed. Valid values range from 1-365 days. The default aging period is 90 days. If you define the `age_to_purge` key manually, you must also define the ` ProtectionServices enable key ` manually. Change this setting using one of the following methods: - Web UI (see [Setting the Aging Interval for Quarantine Files](/docs/setting-the-aging-interval-for-quarantine-files) ). - API custom configuration channels (see [Using API Custom Configuration Channels](/docs/using-api-custom-configuration-channels)). - Manually on individual endpoints using a text editor (see [Modifying the Configuration File for a Single Endpoint](/docs/modifying-the-configuration-file-for-a-single-endpoint)). For manual changes, the `ProtectionServices` settings must be enclosed in braces and listed within quotation marks ("). See the example below. `"ProtectionServices": {` `"enable": true, ` `age_to_purge" : 90,` `},` :