Hi all,
I am trying to batch API call for user licenses changes.
The API call quota is 100 per minute, which is too low, but batching would be a solution around that I think, if possible, as I can't figure out how the command would look like.
I have a customer that is on Enterprise Plus, and I have to change all users to Enterprise Standard, then assign some users with Enterprise Standard Archive User licenses and some with Frontline Worker and Vault licenses.
As this would be a tedious job doing it one by one using standard command to switch from a CSV file, I am looking if batching is possible here.
Standard command I can use is:
gam csv C:\list.csv gam users ~Users update license 1010020030 from 1010020026
This would switch users from one SKU to another as needed, but it would be long and would be backing off exceeding quota a lot and would take long
Is using batching "gam batch" possible for this at all?
I tried a few different commands but none work, like:
gam batch csv C:\list.csv gam users ~Email update license 1010020030 from 1010020026
for this command I get an error: ERROR: File: csv, [Errno 2] No such file or directory: 'csv'
gam csv C:\list.csv gam batch users ~Email update license 1010020030 from 1010020026
for this one I get: ERROR: File: users, [Errno 2] No such file or directory: 'users'
Anyone knows this or came across this?
Any response is appreciated greatly.
Thanks in advance!