Skip to main content
Staff & Editor
Jun 10, 2022 5:25 AM UTC

Technical Tip: FortiAuthenticator Preview local users using REST API

  • Apr 16, 2026 11:47 AM UTC
  • 0 replies
  • 961 views
  • Translate All
Description This article describes how to import cURL Script to Postman in order to preview local user details.
Scope FortiAuthenticator.
Solution

To enable the API, create a new user or edit an existing one and specify the following:

 

1) Under User Role, select Administrator.

2) Enable Web service access.

3) Select OK to save the details.

4) Make a note of the API Web Service Access Key.

 

The easiest way to build a rest API request in Postman is by simply importing the cURL script and import it into Postman.

 

cURL script example:


# curl -k -v -u "admin:<admin-api-key>"  https://192.168.x.x/api/v1/localusers/?format=json

 

1) Save the cURL script to a notepad.

 

Hawada1_0-1654837229193.png

 

Import the cURL script to Postman following the steps.

 

Hawada1_1-1654837301258.png

 

Then select 'Import'.
Once imported, a new tab will automatically will be created for the API Query.

 

Hawada1_2-1654837341738.png

 

Select on 'Send', and it will display the local users created on FortiAuthenticator.


API response.jpg

 

 

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024