pmg_ruledb_rule_to_attach
Attach a recipient group to a PMG RuleDB rule. Use confirm=true to apply changes; dry-run by default.
Instructions
MUTATION (MEDIUM): attach a 'to' (recipient/who) group to a PMG RuleDB rule. Dry-run by default. confirm=True to execute. Needs PROXIMO_PMG_* config. PMG 9.1 pmgsh-verified path: POST /config/ruledb/rules/{id}/to. id_: rule ID. ogroup: numeric who-group ID from pmg_who_groups_list. Only affects mail flow if the rule is active.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_ | Yes | ||
| ogroup | Yes | ||
| confirm | No | ||
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |