CDN
Update CDN Zone
/cdn/zones/{zone_uuid}Update a CDN zone.
SSL options:
- ssl_type='automatic' (default): Automatically provisions Let's Encrypt certificate
- ssl_type='custom' + certificate_uuid: Uses an uploaded certificate
Returns the cname_target you must configure in your DNS.
Autorización
Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.
Parámetros de ruta
Cuerpo de la petición
Update a CDN zone
1 ≤ length ≤ 1001 ≤ length ≤ 253SSL type: automatic (Let's Encrypt) or custom
pattern ^(automatic|custom)$UUID of custom certificate
36 ≤ length ≤ 36Enable signed URL validation. Activating without a previously-set secret auto-generates one; the secret is returned in the response only on first generation. Use POST /cdn/zones/{uuid}/token-auth/rotate-secret to rotate.
Bind signed URLs to the client IP. Tightens security against URL sharing but breaks for clients behind CGNAT or with rotating IPs.
Enable CORS (Cross-Origin Resource Sharing) headers for this zone. Required when your content is fetched from JavaScript on another domain (HLS players, fetch APIs, etc.).
Origins allowed to fetch this zone's content. Use "*" to allow any origin, or a comma-separated list of exact origins (scheme + host + optional port). Ignored when cors_enabled is false.
length ≤ 4096Respuestas
Successful Response
application/json