Hi,
We are using a load balancer and caching the website but I am looking for an automated way to invalidate the cache using PHP instead from the console.
I can see the documentation here but I am not sure how to call the invalidation request using PHP cURL:
gcloud compute url-maps invalidate-cdn-cache [URL_MAP_NAME] \
--host [HOSTNAME] \
--path "/*"
Can anyone help? Also, how would I send the request using the authentication headers? I don't see anything like OAuth or API keys to be passed with the above API request.