Skip to main content

Update Hunt

PUT 

/api/v1/hunts/:name

Replace an existing hunt configuration, resolving its customers afresh.

A rule that stays in the hunt keeps its stored entry, per-rule source and target included. A rule the edit adds is stored by name. The rule and results-table checks of the create apply to the kept entries, except that ClickHouse is not asked to plan a hunt the update leaves disabled.

A production+team write is routed to a review branch instead of the branch the runner git-syncs, and the X-DFE-Review-Required header says so. 422 unknown_org when a customer names no registered org, 422 unknown_rule when a rule newly named has no stored rule file.

Request​

Responses​

Successful Response