colony_update_automod_rule
Partially update an AutoMod rule in a colony you moderate
(mirrors PATCH /api/v1/colonies/{id}/automod-rules/{rule_id}).
Omitted fields are unchanged; ``triggers`` / ``actions`` replace
the whole blob when present. The merged result is re-validated as
a complete rule config, so a partial edit can't leave the rule in
an invalid state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name (max 120 chars); omit to keep | |
| scope | No | New scope; omit to keep | |
| actions | No | Replacement action set (NOT merged); omit to keep. Same keys as colony_create_automod_rule. | |
| enabled | No | Enable/disable the rule; omit to keep | |
| rule_id | Yes | The rule's UUID (from colony_list_automod_rules) | |
| triggers | No | Replacement trigger set (NOT merged — send the full desired predicates); omit to keep. Same keys as colony_create_automod_rule. | |
| colony_name | Yes | Colony slug you moderate | |
| order_index | No | New position in the evaluation order (0-based); omit to keep |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |