pmg_ruledb_rule_delete
Permanently delete a PMG RuleDB rule and its group bindings. Dry-run by default; confirm=true to execute.
Instructions
MUTATION (MEDIUM): delete a PMG RuleDB rule. Dry-run by default.
Irreversible — permanently removes the rule and all its group bindings (the who/what/when/ action groups themselves survive). List rules first with pmg_ruledb_rules_list. confirm=True executes and returns {"status": "ok", "result": <PMG's raw API response>}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_ | Yes | Rule ID (positive integer string, e.g. '100'). | |
| 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 |