update_address_object
Change fields on an existing FortiGate address object, such as subnet, range, FQDN, or comment, while leaving unspecified properties unchanged.
Instructions
Update an existing address object (comment, subnet, range, FQDN, ...).
Only the fields present in address_data change; FortiOS merges them into the object. Example address_data: {"subnet": "192.0.2.40 255.255.255.255", "comment": "HR workstation"}
Parameters:
device_id: Identifier of the FortiGate device
name: Address object name
address_data: Fields to change as JSON object
vdom: Virtual Domain name (optional)
Returns:
Update status
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Address object name | |
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier | |
| address_data | Yes | Fields to change |