provider feature_flags POST
/api/projects/{project_id}/feature_flags/bulk_delete/ @utdk/posthog
/api/projects/{project_id}/feature_flags/bulk_delete/ feature_flags_bulk_delete_create
Bulk delete feature flags by filter criteria or explicit IDs.
Accepts either:
- {"filters": {...}} - Same filter params as list endpoint (search, active, type, etc.)
- {"ids": [...]} - Explicit list of flag IDs (no limit)
Returns same format as bulk_delete for UI compatibility.
Uses bulk operations for efficiency: database updates are batched and cache
invalidation happens once at the end rather than per-flag.
- 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.featureFlagsBulkDeleteCreate()