Description |
This article describes how to delete FortiManager CLI scripts using the CLI. In some versions of FortiManagers, users can delete CLI templates. In some cases, FortiManager returns an error, or the user may receive the message 'deleted successfully' while the script is still present; this typically occurs due to bugs. |
Scope |
FortiManager. |
Solution |
Use the FortiManager CLI to delete the template.
Step 1: Run the command first to get a list of all CLI scripts:
execute fmscript list
Step 2: Use the script ID from the above command to delete the script
execute fmscript delete <script ID>
|
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.