pmg_when_group_update
Update a PMG 'when' object group configuration, such as renaming or changing logic and inversion. Dry-run by default; use confirm=True to apply changes.
Instructions
MUTATION (MEDIUM): update a PMG RuleDB 'when' object group config. Dry-run by default.
Renames or reconfigures the group itself; to change its timeframes use pmg_when_object_add/pmg_when_object_update/pmg_when_object_delete. Only non-None fields are sent, others keep their current value. confirm=True executes and returns {"status": "ok", "result": <PMG's raw API response>}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| and_ | No | AND (True) vs OR (False) logic across group members; maps to API param 'and'. | |
| info | No | New free-text description; omit to keep current value. | |
| name | No | New name for the group; omit to keep current value. | |
| invert | No | If True, invert the group's match result. | |
| 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 |