pmg_ruledb_rule_when_detach
Remove a timeframe condition from a PMG rule by detaching its when-group. Keeps the group intact for other rules.
Instructions
MUTATION (MEDIUM): detach a 'when' (timeframe) group from a PMG RuleDB rule. Dry-run by default.
Only removes the binding — the when-group itself is untouched (delete it separately with pmg_when_group_delete if desired). List current bindings with pmg_ruledb_rule_when_list. confirm=True executes and returns {"status": "ok", "result": <PMG's raw API response>}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_ | Yes | Rule ID to detach the group from. | |
| ogroup | Yes | Numeric 'when' group ID currently attached as a timeframe condition to detach. | |
| confirm | No | False (default) returns a dry-run PLAN; True executes the mutation. | |
| 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 |