provider insights POST
/api/projects/{project_id}/insights/bulk_restore/ @utdk/posthog
/api/projects/{project_id}/insights/bulk_restore/ insights_bulk_restore_create
Restore soft-deleted insights in bulk by ID — the inverse of bulk_delete. Sets deleted=False and re-activates the insights' dashboard tiles on dashboards that still exist. Linked alerts are not restored (they are removed on delete). Insights the requester cannot edit are reported in `skipped`.
- 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.insightsBulkRestoreCreate()