provider logs POST /api/environments/{environment_id}/logs/alerts/{id}/destinations/delete/
@utdk/posthog /api/environments/{environment_id}/logs/alerts/{id}/destinations/delete/
environments_logs_alerts_destinations_delete_create
Delete a notification destination by deleting its HogFunction group atomically.
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
A UUID string identifying this logs alert configuration.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsLogsAlertsDestinationsDeleteCreate
POST/api/environments/{environment_id}/logs/alerts/{id}/destinations/delete/
Delete a notification destination by deleting its HogFunction group atomically.

Parameters

required

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

required

A UUID string identifying this logs alert configuration.

Input

required

HogFunction IDs to delete as one atomic destination group.

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