Curl MTU adjust command getting "access denied"

I’ve attempted to run the following command provided by a zerotier community thread and it seems to fail. I’ve omitted my network ID and api token of course.

curl -X POST “https://my.zerotier.com/api/v1/network/${NETWORK_ID}” -H “Authorization: token ${TOKEN}” -d '{“config”: {“mtu”: 9000}}

I’ve adjusted it a bit and replaced the single quotation with double quotation and closed the command at the end. I also changed the mtu to 1280 per needs of my server for this command line.

curl -X POST “https://my.zerotier.com/api/v1/network/${NETWORK_ID}” -H “Authorization: token ${TOKEN}” -d “{“config”: {“mtu”: 1280}}”

However I am getting an access denied response. Can someone help me with this?

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