I’ve been using Cloudflare for years.
Recently I created a new website, and as I’m still developing, I sometimes want to purge certain files that seem “stickier” than others, usually CSS. (I haven’t set all the correct headers on the server yet)
I thought I’d make things easier for myself and have my internal scripts purge the CSS held in the cache when there’s a change, so that I don’t have to do it manually each time.
But when I tried using the API I got the following messages:
"message": "Only enterprise zones can purge by host."
"message": "Only enterprise zones can purge by prefix."
The last message confuses me. I can definitely purge by prefix through the website, so does this mean that I need to be an Enterprise customer to purge via the API?
I haven’t used the API at all so far. Is it only available to Enterpise customers?