As always, if something does not work as expected or differs from the web
interface, please contact us right away via our Support Desk.
Nearly all API calls require your request to be authenticated though a few do not.
You will use API tokens to authenticate your requests.
See our authentication page for more information.
Certain API calls related to purging are rate limited. See the
rate limiting section for details.
The main entry point for the API is https://api.fastly.com/. For the sake of brevity, examples below omit this.
Instant Purging removes content from Fastly immediately so it can be refreshed from your origin servers. The main entry point for the API, https://api.fastly.com/, is not needed for an individual URL Instant Purge.
Soft Purging sets an object's TTL to 0s, forcing revalidation. For best results, Soft Purging should be used in conjuction with stale_while_revalidate and stale_if_error. The main entry point https://api.fastly.com/ for the API is not needed for a single URL Soft Purge.