Purge CDN Cache
Get all enabled CDN providers for the planet
Responses
200
Enabled CDN providers retrieved successfully
application/json
totalintegerOptionalExample:
1itemsone of[]Optional
Union of CDN Providers with specific fields based on the provider type.
or
or
500
Internal Server Error
application/json
get/api/v4.3/purge-cdn-cache/providers
GET /api/v4.3/purge-cdn-cache/providers HTTP/1.1
Accept: */*
{
"total": 1,
"items": [
{
"provider": "gcp"
}
]
}Purge CDN cache for a given list of CDN targets. All items in the list must be of the same type (i.e., all AWS targets, all GCP targets, or all Link11 targets).
Bodyone of[]
Union of CDN Providers Targets for cache purging with specific fields based on the provider type.
or
or
Responses
200
CDN cache purged successfully
No content
400
Input Error
application/json
500
Internal Server Error
application/json
post/api/v4.3/purge-cdn-cache/purge
POST /api/v4.3/purge-cdn-cache/purge HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 113
[
{
"host": "gcp-host-1.com",
"path": "all"
},
{
"host": "all",
"path": "/path2"
},
{
"host": "gcp-host-3.com",
"path": "/path3"
}
]No content
Get all CDN cache purge statuses from the past week
Responses
200
CDN purge statuses retrieved successfully
application/json
totalintegerOptionalExample:
3500
Internal Server Error
application/json
get/api/v4.3/purge-cdn-cache/purges
GET /api/v4.3/purge-cdn-cache/purges HTTP/1.1
Accept: */*
{
"total": 1,
"items": [
{
"provider": "gcp",
"target": {
"host": "gcp-host-1.com",
"path": "all"
},
"status": "In-Progress",
"timestamp": "2024-09-29T11:14:00"
}
]
}Last updated
Was this helpful?