Purge modes
Prefer exact URLs. An all-content purge increases origin load and removes useful cache entries.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Invalidate cached content, warm selected paths, and inspect operation history.
| Mode | Scope |
|---|---|
all | All cached content for the distribution |
urls | Exact paths supplied in paths |
patterns | Paths matching supplied patterns |
curl --request POST \
--url https://api.aptranet.com/cloud-cdn/tools/purge \
--header "Authorization: Bearer $APTRANET_ACCESS_KEY" \
--header "Aptranet-Secret: $APTRANET_SECRET" \
--header "Content-Type: application/json" \
--data '{
"distribution_id": 73,
"mode": "urls",
"paths": ["/assets/app.8f3c.css", "/catalog/products.json"]
}'