pmg_what_object_update
Update an object in a PMG RuleDB 'what' object group. Dry-run by default; set confirm=True to apply changes.
Instructions
MUTATION (MEDIUM): update an object in a PMG RuleDB 'what' object group. Dry-run by default. confirm=True to execute. Needs PROXIMO_PMG_* config. PMG 9.1 pmgsh-verified path: PUT /config/ruledb/what/{ogroup}/{type}/{id}. ogroup: numeric ID string (e.g. '8') from pmg_what_groups_list. type_: contenttype|matchfield|spamfilter|virusfilter|filenamefilter|archivefilter|archivefilenamefilter. id_: object ID (numeric string) from pmg_what_group_objects. All type-specific fields optional; only non-None fields are sent. only_content → 'only-content'; top_part_only → 'top-part-only'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_ | Yes | ||
| field | No | ||
| type_ | Yes | ||
| value | No | ||
| ogroup | Yes | ||
| confirm | No | ||
| filename | No | ||
| spamlevel | No | ||
| contenttype | No | ||
| only_content | No | ||
| top_part_only | No | ||
| 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 |