provider APM Retention Filters DELETE /api/v2/apm/config/retention-filters/{filter_id}
@utdk/datadog /api/v2/apm/config/retention-filters/{filter_id}
Delete a retention filter
Delete a specific retention filter from your organization. Default filters with types spans-errors-sampling-processor and spans-appsec-sampling-processor cannot be deleted.
filter_id path required
The ID of the retention filter.
string

Try it

Authentication
Configure credentials for Datadog API V2 Collection
deleteapmretentionfilter
DELETE/api/v2/apm/config/retention-filters/{filter_id}
Delete a specific retention filter from your organization. Default filters with types spans-errors-sampling-processor and spans-appsec-sampling-processor cannot be deleted.

Parameters

required

The ID of the retention filter.

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.deleteapmretentionfilter()