Created on ‎10-08-2025 09:15 AM Edited on ‎10-08-2025 10:18 AM
Description | This article describers how to upgrade FortiManager ADOMs in bulk using JSON API and Postman. |
Scope | FortiManager |
Solution |
Starting in FortiManager v7.4.1, the GUI can upgrade multiple ADOMs, but only when they share the same target version. Upgrading an ADOM - FortiManager Admin Guide.
Using the JSON API with Postman, upgrade all FortiGate ADOMs sequentially, regardless of their current versions.
In example below, there are three FortiGate ADOMs (ignoring other types of ADOMs):
Step 1: List ADOMs (name, version, OS type)
{ "method": "get", "params": [ { "url": "/dvmdb/adom", "option": "name", "fields": [ "name", "os_ver", "mr", "restricted_prds" ] } ], "session": "{{session}}", "verbose": 1, "id": 2 }
Step 2: Upgrade ADOMs (sequential):
The script performs the following actions:
{ "method": "exec", "params": [ { "url": "/pm/config/adom/{{ADOM_OID_OR_NAME}}/_upgrade" } ], "session": "{{session}}", "id": 3 }
{ "id": 1, "session": "{{session}}", "method": "get", "params": [ { "url": "/task/task/{{TASK_ID}}" } ] }
Related documents: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.