Create a edge-cache-rule
POST /edge-cache-rules
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
object
URL path pattern matched by this rule, e.g. /static/* or /api/*.
Cache TTL in seconds. 0 = bypass (do not cache).
Controls how query strings affect the cache key.
Controls whether cookies are forwarded to the origin.
Whether the CDN should compress eligible responses (gzip/Brotli).
HTTP methods allowed through this behavior (string[]), e.g. [“GET”,“HEAD”].
Whether this rule is currently applied to the distribution.
Responses
Section titled “ Responses ”Created
object
object
URL path pattern matched by this rule, e.g. /static/* or /api/*.
Cache TTL in seconds. 0 = bypass (do not cache).
Controls how query strings affect the cache key.
Controls whether cookies are forwarded to the origin.
Whether the CDN should compress eligible responses (gzip/Brotli).
HTTP methods allowed through this behavior (string[]), e.g. [“GET”,“HEAD”].
Whether this rule is currently applied to the distribution.
Validation error
Missing or invalid authentication
Not authorized (tenant scope or capability)