Fortinet white logo
Fortinet white logo

Administration Guide

Preview the JSON request or CLI script for changes in the device database

Preview the JSON request or CLI script for changes in the device database

You can preview and copy the JSON API requests or CLI script for changes made in the device database.

To preview the JSON request or CLI script for changes in the device database:
  1. Go to the device database and edit the device's configuration.

  2. At the bottom of the editor window, click Preview.

  3. In the Preview page, you can view the JSON API request.

    • Click Show modified changes only to toggle between viewing the full JSON API request or modified changes only.

    • Click Copy to clipboard to copy the JSON API request to your clipboard.

  4. Click the CLI Scripttab to view the CLI script.

    • Click Copy to clipboard to copy the CLI script to your clipboard.

Preview the JSON request or CLI script for changes in the device database

Preview the JSON request or CLI script for changes in the device database

You can preview and copy the JSON API requests or CLI script for changes made in the device database.

To preview the JSON request or CLI script for changes in the device database:
  1. Go to the device database and edit the device's configuration.

  2. At the bottom of the editor window, click Preview.

  3. In the Preview page, you can view the JSON API request.

    • Click Show modified changes only to toggle between viewing the full JSON API request or modified changes only.

    • Click Copy to clipboard to copy the JSON API request to your clipboard.

  4. Click the CLI Scripttab to view the CLI script.

    • Click Copy to clipboard to copy the CLI script to your clipboard.