pmg_what_group_update
Update a PMG 'what' object group's name, logic, description, or invert setting. Dry-run returns a plan; use confirm=True to execute.
Instructions
MUTATION (MEDIUM): update a PMG RuleDB 'what' object group config. Dry-run by default.
Renames or reconfigures the group itself; to change its match objects use pmg_what_object_add/pmg_what_object_update/pmg_what_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 'what' object group ID (e.g. '8') from pmg_what_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 |