FortiManager icon

FortiManager

Interact with FortiManager API

Firewall → Update Address

AI-generated

Summary

Update a firewall address object in a selected FortiManager domain.

Inputs

  • domain (required) — Domain of FortiManager API to operate on
  • adom (required) — Administrative Domain name
  • addressName (required) — Name of the address object to update
  • updateFields — Collection of fields to update for the address object

Output shape

a list of items

Successful execution returns the operation result; errors are thrown unless continueOnFail is enabled.

Examples

Example 1: Update an existing address with a new subnet

domain=pm, adom=root, addressName=OfficeLAN, updateFields[subnet]=192.168.10.0/24

Example 2: Rename an address and add a comment

domain=pm, adom=root, addressName=OldName, addressName=NewName, updateFields[comment]=Updated address for testing

Discussion