provider error_tracking PATCH /api/environments/{environment_id}/error_tracking/suppression_rules/{id}/
@utdk/posthog /api/environments/{environment_id}/error_tracking/suppression_rules/{id}/
environments_error_tracking_suppression_rules_partial_update
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
string

Try it

Authentication
Configure credentials for PostHog API
environmentsErrorTrackingSuppressionRulesPartialUpdate
PATCH/api/environments/{environment_id}/error_tracking/suppression_rules/{id}/

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

required

Input

Property-group filters that define which incoming error events should be suppressed. Provide an empty `values` array to convert the rule into a match-all suppression. Omit to preserve the existing filters.

Probability that a matching event is dropped. `1.0` drops every match; `0.0` drops none; `0.5` drops half. Higher values suppress more. Omit to preserve the existing rate.

Configure credentials above to enable sending.

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

TypeScript

import posthog from '@utdk/posthog';

await posthog.environmentsErrorTrackingSuppressionRulesPartialUpdate()