Flush Fastly CDN via CLI/Command Line for Adobe Commerce Projects
If you ever need the ability to flush Fastly but can’t acess an Adobe Commerce
admin panel to do so, you can run the following curl request:
curl -H "Fastly-Key: API_KEY” -X POST "https://api.fastly.com/service/SERVICE_ID/purge_all"You can fetch both your API_KEY key and SERVICE_ID from the file mounted at:
/mnt/shared/fastly_tokens.txtin your Commerce Cloud cluster.