a simple shell script adding one per row?cat file.csv | while read line; doc1=$(echo $line | cut -d',' -f1)...curl ... -H "Content-Type: application/json" --data "{json data}"done;
I am sorry I do not much understand...I have .csv file and format of every row is:username;e-mail;password;fullname
How will look whole script or where is command to add user?
I have PowerShell module by fvanroie and it only now connects to opnsense server by using api key and secret. Script he posted here is not adding any users. I tried to modify .csv file to only have password and username there and it did not helped.
Is it usable for local system manager users?