pmg_who_object_add
Add an object (email, domain, regex, IP, network, or LDAP) to a PMG RuleDB 'who' object group. Dry-run by default; confirm=True to execute.
Instructions
MUTATION (LOW): add an object to a PMG RuleDB 'who' object group. Dry-run by default. confirm=True to execute. Needs PROXIMO_PMG_* config. PMG 9.1 pmgsh-verified path: POST /config/ruledb/who/{ogroup}/{type}. ogroup: numeric ID string (e.g. '2') from pmg_who_groups_list. type_: email|domain|regex|ip|network|ldap — controls the sub-path. Type-specific fields: email(email), domain(domain), regex(regex), ip(ip), network(cidr), ldap(mode, profile, group).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | ||
| 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 |