Skip to content

Cache Purge

Initiate Purge for Edge CDN Cache.

ToolDescription
f5xc-api-cdn-cache-purge-createPurge CDN Cache.
ParameterDescriptionExample
nameCDN Distribution Name-
namespaceNamespace-

This resource includes mutually exclusive configuration options:

OptionDescriptionRecommended
hostname-
pattern-
purge_all-
url-
OptionDescriptionRecommended
hard_purge-
soft_purge-

Ask Claude to help you work with Cache Purge resources:

“Create a cache-purge named ‘example’ in the ‘production’ namespace”

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/cache_purges" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Get specific resource
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/cache_purges/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/cache_purges" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @cache_purge.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/cache_purges/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"