pmg_ruledb_rule_action_detach
Detach an action group from a PMG RuleDB rule, removing only the binding while leaving the action object intact. Dry-run by default; use confirm=True to execute.
Instructions
MUTATION (MEDIUM): detach an action group from a PMG RuleDB rule. Dry-run by default.
Only removes the binding — the action object itself is untouched (delete it separately with pmg_action_delete if desired). List current actions with pmg_ruledb_rule_actions_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 action group from. | |
| ogroup | Yes | Numeric action group ID currently attached to the rule 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 |