pmg_ruledb_rule_when_attach
Attach a timeframe group to a RuleDB rule to control when the rule applies to mail flow. Dry-run by default; set confirm=True to execute.
Instructions
MUTATION (MEDIUM): attach a 'when' (timeframe) 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}/when. id_: rule ID. ogroup: numeric when-group ID from pmg_when_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 |