Description | This article describes three common API calls to leverage from FortiNAC and its syntax. |
Scope | FortiNAC 8.x, 9.x. |
Solution |
1) Getting the host record by the hostname parameter: https://<FNAC_FQDN/IP>:8443/api/v2/host?filter=hostName==<hostname>
2) Getting the host record by the logged-on user ID: https://<FNAC_FQDN/IP>:8443/api/v2/host?filter=UserLoggedOn==<username>
3) Getting the host/s that is/are associated with a user: https://<FNAC_FQDN/IP>:8443/api/v2/host/for-user?userID=<username>
Related document: |
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 2023 Fortinet, Inc. All Rights Reserved.