{"type":"internal","message":"Access Denied"}

curl -X GET -H “Authorization: token xxxxxhttps://api.zerotier.com/api/v1/network

returns

{“type”:“internal”,“message”:“Access Denied”}

Can anyone suggest a reason as to why I am unable to get access?
Thanks.

Only reason would be that you’re using an invalid token

Is there a way to GET network but list only specific objects? im trying to create a webpage with the results

No. The network list endpoint always returns the full network list.

If I understood the requirement correctly, you just need to parse the JSON output received.
You can try jq tool under Linux.

I will look into it, thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.