Last active
July 6, 2023 18:26
-
-
Save laduke/911aae8ff94183c24751c5f0fc5ae937 to your computer and use it in GitHub Desktop.
zerotier central members list as csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --silent --header "authorization: bearer ${TOKEN}" "https://my.zerotier.com/api/network/${NWID}/member" | jq ".[] | [ .nodeId, .name, .config.ipAssignments[0] ]" | jq -rs ".[] | @csv" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment