Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# Uage <Users to add are given in list.txt, each user on new line>
for i in `cat users.list`;
echo $i
curl -X PUT -H "Authorization: Bearer $(dcos config show core.dcos_acs_token)" "$(dcos config show core.dcos_url)/acs/api/v1/users/$i" -d "{}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.