v4

latestOpenAPI 3.0.1Apache 2.02026-07-312457525.9 MB
Route API

Invalidate CDN cache for a route

post/workspaces/{workspace_domain}/distributions/{distribution_id}/routes/{route_id}/cache

Path parameters

workspace_domainstring required
Example:my-company

The human-readable ID of the workspace

distribution_idinteger required

The ID of the distribution

route_idinteger required

The ID of the route

Query parameters

project_namestring
Example:my-project

Project name to filter distributions

Request body

purge_allboolean

Purge all cached content for this route

purge_pathsstring[]

List of paths to invalidate

Response

Route cache invalidation triggered