Skip to content

Instantly share code, notes, and snippets.

@laduke
Last active July 6, 2023 18:26
Show Gist options
  • Save laduke/911aae8ff94183c24751c5f0fc5ae937 to your computer and use it in GitHub Desktop.
Save laduke/911aae8ff94183c24751c5f0fc5ae937 to your computer and use it in GitHub Desktop.
zerotier central members list as csv
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