Fortinet white logo
Fortinet white logo

Administration Guide

Preview the JSON request or CLI script for an object

Preview the JSON request or CLI script for an object

You can preview and copy the JSON API requests or CLI script changes for an object.

To preview the JSON request or CLI script when editing an object:
  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 request or CLI script for an object

Preview the JSON request or CLI script for an object

You can preview and copy the JSON API requests or CLI script changes for an object.

To preview the JSON request or CLI script when editing an object:
  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.