FortiManager icon

FortiManager

Interact with FortiManager API

Firewall → Create Address Group

AI-generated

Summary

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

Discussion