API user with only permission to clear cache?


Title says it all. My company keeps the cloudflare account closely guarded, but marketing wants to deploy website regularly using a script. I’m hoping to add an API call to the script that would clear the cache using an API credential with only that permission. Is that possible? Thanks!



It’s possible to create a user/account with those permissions on our enterprise plan. On a self serve plan you could create a tool/script/service they could call which only performs that action and code the underlying API key in the tool.

1 Like