fastly purge

Invalidate objects in the Fastly cache.

WARNING: This information is part of a limited availability release. Portions of this API may be subject to changes and improvements over time. Fields marked deprecated may be removed in the future and their use is discouraged. For more information, see our product and feature lifecycle descriptions.


fastly purge


--allNoPurge everything from a service
--fileNoPurge a service of a newline delimited list of Surrogate Keys
--keyNoPurge a service of objects tagged with a Surrogate Key
--service-idNoService ID (falls back to FASTLY_SERVICE_ID, then fastly.toml)
--softNoA 'soft' purge marks affected objects as stale rather than making them inaccessible
--urlNoPurge an individual URL

Global options

--helpNoShow context-sensitive help.
--tokenNoFastly API token (or via FASTLY_API_TOKEN)
--verboseNoVerbose logging