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
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import datadog from '@utdk/datadog';
await datadog.deleteapmretentionfilter()