add_address_group_members
Add address objects to an existing FortiGate address group without replacing current members. Use it to grant a host an exception through the group instead of editing the policy.
Instructions
Add address objects to an existing address group, keeping the current members.
Typical use: grant a new PC an exception that a policy already applies to the group (e.g. add a host object to an "allowed" group instead of editing the policy).
Parameters:
device_id: Identifier of the FortiGate device
name: Address group name
members: Address object names to add (already-present names are skipped)
vdom: Virtual Domain name (optional)
Returns:
Which members were added and the new member count
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Address group name | |
| vdom | No | Virtual Domain | |
| members | Yes | Address object names to add | |
| device_id | Yes | FortiGate device identifier |