Hi all - I have been fighting with the FortiManager API for a while now.
With a Python script, I've been able to:Authenticate to
FortimanagerQuery all Fortigates in FortiManageLoop through the devices
to find a specific FortigateCollect details from ...
I think I found the issue... The only thing that I changed was: url_path
= f"/pm/config/adom/{adom_name}/obj/fsp/managed-switch" # If we want to
filter by a specific device, we can add scope data = None if
device_name: print(f"Filtering switches for ...
Thanks for the reply Richie. I have been fighting with
"/pm/config/device/{device}/vdom/{vdom}/switch-controller/managed-switch/{switch-id}"
thinking the data should be there, but never got the results I expected.
I thought the "/pm/config/adom//obj/...