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 → Update Address Group
AI-generatedSummary
Update an existing address group on FortiManager
Inputs
- domain (required) — API domain to operate on (e.g., pm, dvm, dvmdb, etc.)
- adom (required) — Administrative Domain name where the address group resides
- groupName (required) — Name of the address group to update
- updateFields — Collection of fields to modify in the address group
- newName — New name for the address group
- members — Comma-separated list of address object names to include in the group
- comment — Comment for the address group
- excludeMembers — Comma-separated list of address object names to exclude
- color — Color code for GUI display (0-32)
- tags — Comma-separated list of tag names
- allowRouting — Enable or disable use of this address group in static route configuration
Output shape
a JSON object representing the updated address group
Returns the updated object on success; may include an error envelope on failure
Examples
Example 1: Update an address group's members and add a comment
Set adom to 'root', domain to 'pm', groupName to 'group1', updateFields.newName to 'group1upd', updateFields.members to 'subnet1,subnet2', updateFields.comment to 'Updated group'
Example 2: Modify group members and enable routing
domain='pm', adom='root', groupName='group2', updateFields.members='subnet3,hostA', updateFields.allowRouting='enable'
Example 3: Change name, color, and tags
domain='pm', adom='root', groupName='group3', updateFields.newName='group3new', updateFields.color=5, updateFields.tags='tag1,tag2'