curl -X GET “h__ps___://api.Cloudflare.com/#zone-list-zones” -H “Authorization: Bearer TOKEN” -H “Content-Type:application/json”
this lists out a ton of metadata, the api is working.
using api token with read permissions on everything.
My Goal - A list of all 1100 domains/zones we have in Cloudflare, exporting to csv or something I can parse. I’m a curl rookie, I have been trying this for over an hour. The syntax has to be simple right?
Thanks, Jon