provider insights POST
/api/projects/{project_id}/insights/bulk_delete/ @utdk/posthog
/api/projects/{project_id}/insights/bulk_delete/ insights_bulk_delete_create
Soft-delete insights in bulk by ID. Mirrors the single-insight delete: sets deleted=True, soft-deletes the insights' dashboard tiles, and removes their linked alerts. Insights the requester cannot edit are skipped and reported in `skipped`. Reversible via the bulk_restore endpoint.
- format query
- enum: csv, json
- project_id path required
- Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
- string
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.insightsBulkDeleteCreate()