There doesn’t seem to be anything wrong with your request as shown above, except that it should all go in one line. I’ve copied/pasted, replaced with my API key (I didn’t bother creating a token for this) and it worked fine.
Make sure nothing is being lost or added when you copy keys and email to your curl request.
Thank you for feedback. There were backslashes at the end of each row to escape the EOL character and which have been hidden in the html view, maybe you can see them in the html source. The same format works with other requests.
Can you confirm that the EXA string of the DNS zone is correct? I tried to get the full list of identifiers stopping the url at /zones but I receive a strange output with details of my account instead of the full list of zones.
Maybe I forgot anything in token activation?
FYI you can always wrap content in backticks or use the code icon to make them show as intended in the community forum.
I cannot. You should open your Cloudflare dashboard and select the relevant zone, then copy the Zone ID from there using their “click to copy” tool to avoid adding return carriage and other possible invisible characters.
Cloudflare API always returns in JSON format, and it’s up to user to parse it. Returns are also often very verbose, so you need to skim through to pick the specific data you need, or else familiarize yourself with jq and other command line tools to help you in the process.