Enable, disable, reorder, or replace one rule.
PATCH/api/rules/:id
Toggling a rule is a PATCH rather than a full-set save, so the state dot on the list is one call and needs no Save button beside it.
Request
Responses
- 200
- 400
- 404
the set with the rule changed, one version bump on
a change the validator refuses, an edit that changes the rule's id, or the doctrine-locked rule
no rule with this id in the set