for domain in $(cat domains.txt); do
curl -X POST -H “X-Auth-Key: $CF_API_KEY” -H “X-Auth-Email: $CF_API_EMAIL”
-H “Content-Type: application/json”
“https://api.cloudflare.com/client/v4/zones"
–data '{“account”: {“id”: “id_of_that_account”}, “name”:”‘$domain’",“jump_start”:true}'; done
It’s in the overview page for any domain in your account. Right hand column.
1 Like