pmg_when_group_delete
Delete a PMG RuleDB 'when' object group and all its timeframes. Dry-run by default; set confirm=True to execute irreversibly.
Instructions
MUTATION (MEDIUM): delete a PMG RuleDB 'when' object group. Dry-run by default.
Irreversible — also removes every timeframe within the group. List groups first with pmg_when_groups_list; to remove just one timeframe instead use pmg_when_object_delete. confirm=True executes and returns {"status": "ok", "result": <PMG's raw API response>}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ogroup | Yes | Numeric 'when' object group ID (e.g. '4') from pmg_when_groups_list. | |
| 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 |