I'm trying to use CLI to disable bulk users use below command:
./confluence.sh --action runFromCsv --common "--action removeUserFromGroup" --file /home/lcong/Desktop/1.csv --server http://confluence.com.cn --user user1 --password ***
# cat 1.csv
userId,group
user1,test
Whant I'm understanding is that the userId is the username, and I can got the username list user --action getUserList command. But when I doing disable action, it says
Client error: No user with id 'user1'.
I also tried other users are got the same error, anyone can help to give some advice? Is the username not userId?
Thanks.