Skip to main content
mattia1
Staff
Staff
October 10, 2025

Technical Tip: How to enable REST API globally and for specific Administrator on FortiMail

  • October 10, 2025
  • 0 replies
  • 329 views
Description This article describes how to enable the REST API globally and for a specific Administrator on FortiMail.
Scope FortiMail.
Solution

Enable the REST API under the web service:

CLI:

 

FML # config system web-service  FML (web-service) # set rest-api-status enable  FML (web-service) # end

 

GUI:

  1. Navigate to System -> Configuration -> Web Service -> Enable REST API.

 

enable REST-API - GUI.png

 

 

  1. Enable the REST API under the administrator who will be used to log in, using REST API commands.

  1. Navigate to System -> Administrator -> Select Edit.
                                                                              

admin-edit.png

 

  1. Make sure to enable the REST API for the chosen administrator.

     

Enable-API-admin.png