Application Program Interfaces : XML API : Connecting to FortiManager web services : Enabling web services
 
Enabling web services
You must enable web services on the network interfaces to which Web Services clients will connect.
To enable web services on an interface using the Web-based Manager:
1. Go to System Settings > Network.
2. If you want to enable Web Services for all interfaces, select Web Service in the Administrative Access section.
3. If you want to enable Web Services for a specific interface:
Select the All Interfaces button.
Select the name of the interface that you want to use.
In the Administrative Access section, select Web Service.
4. Select OK.
To enable web services on an interface using the CLI:
1. Enter the following CLI commands:
config fmsystem interface
edit <port>
set allowaccess webservice
end
where <port> is the network interface that you want to use for web services.
The allowaccess command should also include the other types of administrative access that you want to permit. For example, to allow HTTPS, SSH, and Web Services, enter the command set allowaccess https ssh webservice.
The FortiManager unit handles web services requests on port 8080.