pmg_ruledb_rule_to_detach
Detach a recipient group from a PMG RuleDB rule. Dry-run by default to preview changes; confirm=True executes the mutation.
Instructions
MUTATION (MEDIUM): detach a 'to' (recipient/who) group from a PMG RuleDB rule. Dry-run by default.
Only removes the binding — the who-group itself is untouched (delete it separately with pmg_who_group_delete if desired). List current bindings with pmg_ruledb_rule_to_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 'who' group ID currently attached as the 'to' 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 |