Fortinet black logo

REST API for administrative actions

Copy Link
Copy Doc ID 5c8f69a0-b00b-11ea-8b7d-00505692583a:367621
Download PDF

REST API for administrative actions

Apart from resources, FortiMail REST API supports basic administrative actions such as restarting /shutting down a device. Use the following URL to send action request:

  • URL: http(s)://host_ip/api/v1/SysStatusCommand/
  • Method: POST
  • JSON: {“action”: action_value}

Where action_value is one of the following integers:

1: Restart

2: Shut down

3: Reload

REST API for administrative actions

Apart from resources, FortiMail REST API supports basic administrative actions such as restarting /shutting down a device. Use the following URL to send action request:

  • URL: http(s)://host_ip/api/v1/SysStatusCommand/
  • Method: POST
  • JSON: {“action”: action_value}

Where action_value is one of the following integers:

1: Restart

2: Shut down

3: Reload