pmg_who_object_update
Update an object in a PMG 'who' object group with optional fields. Dry-run by default; set confirm=True to execute.
Instructions
MUTATION (MEDIUM): update an object in a PMG RuleDB 'who' object group. Dry-run by default. confirm=True to execute. Needs PROXIMO_PMG_* config. PMG 9.1 pmgsh-verified path: PUT /config/ruledb/who/{ogroup}/{type}/{id}. ogroup: numeric ID string (e.g. '2') from pmg_who_groups_list. type_: email|domain|regex|ip|network|ldap — controls the sub-path. id_: object ID (numeric string) from pmg_who_group_objects. All type-specific fields optional; only non-None fields are sent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | ||
| id_ | Yes | ||
| cidr | No | ||
| mode | No | ||
| No | |||
| group | No | ||
| regex | No | ||
| type_ | Yes | ||
| domain | No | ||
| ogroup | Yes | ||
| confirm | No | ||
| profile | 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 |