Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Joro5928
New Contributor II

API for device inventory

Hi guys,

can someone suggest me how to retrieve device inventory from Fortigate with API ? 
I am using :
https://<IP:port>/api/v2/monitor/user/device/detected-device/?access_token=my token

 

but i's giving me 

http_status:404

 

When i try https://<IP:port>/api/v2/monitor/user/?access_token=my token   is showing me the entire directory and it seems working.

Fortios version is 7.2.3

1 Solution
ebilcari
Staff
Staff

That is:

https://fw/api/v2/monitor/user/device/query/?access_token=

If you need more information about the API you should register to https://fndn.fortinet.net/  and ask your local Fortinet representative to sponsor you.

- Emirjon
If you have found a solution, please like and accept it to make it easily accessible for others.

View solution in original post

2 REPLIES 2
ebilcari
Staff
Staff

That is:

https://fw/api/v2/monitor/user/device/query/?access_token=

If you need more information about the API you should register to https://fndn.fortinet.net/  and ask your local Fortinet representative to sponsor you.

- Emirjon
If you have found a solution, please like and accept it to make it easily accessible for others.
Joro5928
New Contributor II

That worked, thank you :) 

Labels
Top Kudoed Authors