Delete a segment
Segments
Delete a segment
Performs a soft delete on a segment, marking it as deleted without permanently removing it from the database. This endpoint will fail with a 409 Conflict error if the segment is currently referenced by any active feature flag targeting rules, preventing accidental breakage of flag evaluation logic. Before deleting a segment, ensure no flags depend on it or update those flags to use alternative targeting rules. Soft-deleted segments can potentially be restored by administrators if needed for audit or recovery purposes.
DELETE
Delete a segment
Documentation Index
Fetch the complete documentation index at: https://docs.flagmint.com/llms.txt
Use this file to discover all available pages before exploring further.