pmg_when_object_update
Update a timeframe in a PMG RuleDB 'when' object group. Dry-run by default; use confirm=True to execute. Requires object ID, start, and end times in H:i format.
Instructions
MUTATION (MEDIUM): update a timeframe object in a PMG RuleDB 'when' object group. Dry-run by default.
id_ comes from pmg_when_group_objects; to add a new timeframe instead use pmg_when_object_add. confirm=True executes and returns {"status": "ok", "result": <PMG's raw API response>}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | New timeframe end time in H:i format (e.g. '17:00'); required, PMG rejects partial updates. | |
| id_ | Yes | Object ID (numeric string) from pmg_when_group_objects. | |
| start | Yes | New timeframe start time in H:i format (e.g. '08:00'); required, PMG rejects partial updates. | |
| 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 |