Created on
08-10-2025
10:41 AM
Edited on
08-13-2025
10:49 PM
By
Anthony_E
Description | This article describes the steps to delete FortiTokens in bulk, which is particularly helpful in scenarios where FortiTokens are being migrated from one device to another. |
Scope | FortiGate, FortiToken. |
Solution |
While migrating the FortiToken from one device to another, it is necessary to delete the tokens from the old unit and then register the Tokens on the new unit for assigning to the users.
To delete the FortiTokens on the old unit, remove their references first. See Technical Tip: Removing old FortiToken references from users in bulk.
After the references have been removed, follow the steps below to create a script to delete these FortiTokens in Bulk:
show user fortitoken
Result:
This script will remove the FortiTokens in bulk on the old unit, and the FortiTokens will be ready for activation and assignment on the new unit. |
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.