Fortinet white logo
Fortinet white logo

Administration Guide

Preview the JSON API or CLI script for FortiSwitch configurations

Preview the JSON API or CLI script for FortiSwitch configurations

You can preview and copy the JSON API requests or CLI script changes for FortiSwitch Manager configurations.

To preview the JSON request or CLI script when editing a FortiSwitch configuration:
  1. At the bottom of the editor window, click Preview.

  2. In the Preview page, you can view the JSON API request or requests.

    • 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.

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

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

Preview the JSON API or CLI script for FortiSwitch configurations

Preview the JSON API or CLI script for FortiSwitch configurations

You can preview and copy the JSON API requests or CLI script changes for FortiSwitch Manager configurations.

To preview the JSON request or CLI script when editing a FortiSwitch configuration:
  1. At the bottom of the editor window, click Preview.

  2. In the Preview page, you can view the JSON API request or requests.

    • 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.

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

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