Skip to main content
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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

rule_id
string
required

The rule identifier.

Example:

"rul_01jc0t6fwwfgfsq1md24mhyztj"

Response

No Content