Fortinet black logo

REST API for administrative actions

Copy Link
Copy Doc ID 8ede2956-e766-11ec-bb32-fa163e15d75b: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