This article describes how to update admin credentials for multiple devices at once in FortiManager device manger database. These credentials are used to connect FortiManager with the FortiGate device.
FortiManager, FortiManager Cloud.
There are 2 options which can be used to achieve this task.
Option1:
execute device replace user FortiGate-40F user101
execute device replace user FortiGate-60E user102
execute device replace pw FortiGate-40F Secure123#
execute device replace pw FortiGate-60E 123#Secure
Option2:
Note: Follow the article How to export, import, or edit a Device List in FortiManager Device Manager for details on exporting and editing the device list, these detail applies to step 1-3 of option2 in this article.
{
"method": "set",
"params": [
{
"data": [
{
"name": "Device1",
"vdom": "root"
},
{
"name": "Device2",
"vdom": "root"
}
],
"url": "/pm/pkg/adom/root/FortiGate-60E-PKG/scope member"
}
],
"session": "string”
"id": 1
}
Using API request. An example of assigning the CLI template:
{
"method": "set",
"params": [
{
"data": [
{
"name": "FortiGate-60E",
"vdom": "root"
},
{
"name": "FortiGate-40F",
"vdom": "root"
}
],
"url": "/pm/config/adom/72/obj/cli/template/dashbaord/scope member"
}
],
"session": "string”
"id": 1
}
Note: The value of the 'URL' field needs to be changed based on template type:
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 2024 Fortinet, Inc. All Rights Reserved.