Rules
Delete a rule
Beta. The request and response shapes may still change.
Delete a rule no recipe still scores over. Deleting a rule currently associated to a recipe returns 409, with the recipes holding it listed in details: detach it there first.
DELETE
Delete a rule
A rule still referenced by a recipe cannot be deleted. The refusal lists the recipes holding it, so you know where to go:
This is refused rather than cascaded because a recipe reads its rules all or nothing: one dangling identifier fails the read, and with it every evaluation of every flow that recipe belongs to. Detach the rule from those recipes first, then delete it.
Deleting a rule that is already gone returns
204: you asked for an absence and got one. A 404 here means the identifier is malformed, not that the rule was missing.