Update a rule

patch/v1/rules/{id}

Request

  • Base URL: https://webhook-studio.com
  • URL: https://webhook-studio.com/v1/rules/{id}
  • Auth: HTTP bearer

Request body

namestring
activeboolean
condition_treeobject

A condition group { op: "AND"|"OR", children: [...] } or a leaf { field, operator, value? }, nested arbitrarily. field is "body.<dot.path>", "header.<name>" or "meta.<key>". operator is equals|not_equals|contains|exists|regex; all but exists require value. An empty AND group matches every event.

destination_idsstring[]

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.