- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to delete FortiSOAR Users
Important Note: It is highly recommended that you use this script to delete or cleanup users during the initial stages of setting up your FortiSOAR system. If you delete users who have been using
FortiSOAR for a while, then the records for which the deleted user was the only owner, will
also be lost forever.
An administrator can delete users using a script via ssh session.
To delete users, perform the following steps:
1. SSH to your FortiSOAR VM and login as a root user.
2. Enter the user_id of the user(s) that you want to delete in the usersToDelete.txt file, which is located at /opt/cyops/scripts/. The usersToDelete.txt file is an empty text file in which you can enter the ID of users that you want to delete.
3. To find the user_id of the user(s), login to ssh session and run the below command.
env PGPASSWORD=$(csadm license --get-device-uuid) psql -U cyberpgsql -d venom -c "select uuid, user_id, firstname, lastname from actors";
4. Then navigate to the /opt/cyops/scripts/ directory.
5. Run the following command to delete the user(s)
# /opt/cyops/scripts/userDelete
