pmg_ruledb_rule_what_detach
Detach a content group from a PMG RuleDB rule without deleting the group. Dry-run by default; use confirm=True to apply.
Instructions
MUTATION (MEDIUM): detach a 'what' (content) group from a PMG RuleDB rule. Dry-run by default.
Only removes the binding — the what-group itself is untouched (delete it separately with pmg_what_group_delete if desired). List current bindings with pmg_ruledb_rule_what_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 'what' group ID currently attached as a content 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 |