Technical Tip: How to create a CLI Template and Pre-Run CLI Template using JSON API
| 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: |

