Description | This article describes how to create a CLI Template and Pre-Run CLI Template using JSON API. |
Scope | FortiManager, JSON-API. |
Solution |
A CLI Template can be created using API request below: { { ]
Sample output:
To create a Pre-Run CLI template, use the same API request and set 'provision': 'enable' on line #9. To create a JINJA template, set 'type': 'jinja' on line #11. Related articles: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.