purge_key¶
- ltdconveyor.fastly.purge_key(surrogate_key, service_id, api_key)¶
Instant purge URLs with a given surrogate key from the Fastly caches.
- Parameters:
- Raises:
FastlyError – Error with the Fastly API usage.
- Return type:
Notes
This function uses Fastly’s
/service/{service}/purge/{key}
endpoint. See the Fastly Purge documentation for more information.For other Fastly APIs, consider using fastly-py.