pmg_action_notification_update
Update an existing notification action object in PMG RuleDB. Use with id from pmg_action_objects_list; dry-run by default, set confirm=True to execute.
Instructions
MUTATION (MEDIUM): update a notification action object in the PMG RuleDB. Dry-run by default.
id_ comes from pmg_action_objects_list; to create a new one instead use pmg_action_notification_create. confirm=True executes and returns {"status": "ok", "result": <PMG's raw API response>}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | New notification recipient email address; required (PMG rejects partial updates). | |
| id_ | Yes | Compound action object ID (e.g. '13_26') from pmg_action_objects_list. | |
| info | No | New free-text description; omit to keep current value. | |
| name | Yes | New action object name; required (PMG rejects partial updates). | |
| attach | No | If True, attach the original message to the notification. | |
| confirm | No | False (default) returns a dry-run PLAN; True executes the mutation. | |
| subject | Yes | New notification subject line; required (PMG rejects partial updates). | |
| body_text | Yes | New notification body text; maps to API param 'body'; required (PMG rejects partial updates). | |
| 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 |