provider APM Retention Filters PUT /api/v2/apm/config/retention-filters/{filter_id}
@utdk/datadog /api/v2/apm/config/retention-filters/{filter_id}
Update a retention filter
Update a retention filter from your organization. Default filters (filters with types spans-errors-sampling-processor and spans-appsec-sampling-processor) cannot be renamed or removed.
filter_id path required
The ID of the retention filter.
string

Try it

Authentication
Configure credentials for Datadog API V2 Collection
updateapmretentionfilter
PUT/api/v2/apm/config/retention-filters/{filter_id}
Update a retention filter from your organization. Default filters (filters with types spans-errors-sampling-processor and spans-appsec-sampling-processor) cannot be renamed or removed.

Parameters

required

The ID of the retention filter.

Input

required

The body of the retention filter to be updated.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.updateapmretentionfilter()