Actions28
- Firewall Actions
- Get All Policies
- Get Policy
- Get Firewall Addresses
- Create Policy
- Update Policy
- Delete Policy
- Move Policy
- Clone Policy
- Create Address
- Update Address
- Delete Address
- List Services
- Create Service
- Delete Service
- List Address Groups
- Create Address Group
- Update Address Group
- Delete Address Group
- List Service Groups
- Create Service Group
- Delete Service Group
- List VIPs
- Create VIP
- Update VIP
- Delete VIP
- List IP Pools
- Create IP Pool
- Delete IP Pool
Firewall → Create Address Group
AI-generatedSummary
Creates a firewall address group on FortiManager.
Inputs
- domain (required) — API domain to use (e.g., pm, securityConsole).
- adom (required) — Administrative Domain name where the address group will be created.
- groupName (required) — Name of the address group to create.
- members (required) — Comma-separated list of address object names to include in the group.
- additionalFields — Optional extra fields such as comment, excludeMembers, color, tags, and allowRouting.
Output shape
a single address group object representing the newly created group
The response contains the full details of the created group; fields from additionalFields are included if provided.
Examples
Example 1: Create a new address group in the Policy Manager domain
domain=pm, adom=root, groupName=LAN_Group, members=10.0.0.0/24,10.0.1.0/24, comment=Office LAN, color=5, tags=office,allowRouting=disable
Example 2: Create an address group with excluded members
domain=pm, adom=root, groupName=DMZ_Group, members=10.1.0.0/24, comment=DMZ, excludeMembers=10.1.0.0/24, tags=dmz,allowRouting=enable
Example 3: Create an address group using Device Manager Database domain
domain=dvmdb, adom=root, groupName=Trusted_Hosts, members=host1,host2, tags=trusted,allowRouting=disable