- Home
- API MCP Server
- tools
- cdn
- Cache Purge
Cache Purge
Initiate Purge for Edge CDN Cache.
| Tool | Description |
|---|---|
f5xc-api-cdn-cache-purge-create | Purge CDN Cache. |
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”| Parameter | Description | Example |
|---|---|---|
name | CDN Distribution Name | - |
namespace | Namespace | - |
Configuration Choices
Section titled “Configuration Choices”This resource includes mutually exclusive configuration options:
pattern_type
Section titled “pattern_type”| Option | Description | Recommended |
|---|---|---|
hostname | - | |
pattern | - | |
purge_all | - | |
url | - |
purge_type
Section titled “purge_type”| Option | Description | Recommended |
|---|---|---|
hard_purge | - | |
soft_purge | - |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with Cache Purge resources:
Create Cache Purge
Section titled “Create Cache Purge”“Create a cache-purge named ‘example’ in the ‘production’ namespace”
CURL Examples
Section titled “CURL Examples”# List resourcescurl -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 resourcecurl -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 resourcecurl -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 resourcecurl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/cache_purges/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"