...
Code Block | ||
---|---|---|
| ||
while read user mail
do
curl -v -X PUT -H apiToken:xxx -d username=$user -d type=o365 -d provisioning_smtpAddress=$mail https://mytimetable_host.hotelschool.nl/api/v0/synchronizations
done < users.txt |
...
Code Block | ||
---|---|---|
| ||
while read user mail
do
curl -v -X PUT -H apiToken:xxx -d username=$user -d type=o365 -d provisioning_smtpAddress=$mail https://mytimetable_host.hotelschool.nl/api/v0/synchronizations
done < users.txt |