CDN

Update CDN Zone

patch/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

Authorization
Authorization*string

Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.

Parámetros de ruta

zone_uuid*string

Cuerpo de la petición

Update a CDN zone

application/jsonObligatorio
name?string | null
Rango1 ≤ length ≤ 100
custom_domain?string | null
Rango1 ≤ length ≤ 253
ssl_type?string | null

SSL type: automatic (Let's Encrypt) or custom

Rangopattern ^(automatic|custom)$
certificate_uuid?string | null

UUID of custom certificate

Rango36 ≤ length ≤ 36
token_auth_enabled?boolean | null

Enable 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.

token_auth_ip_binding?boolean | null

Bind signed URLs to the client IP. Tightens security against URL sharing but breaks for clients behind CGNAT or with rotating IPs.

cors_enabled?boolean | null

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.).

cors_allow_origins?string | null

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.

Rangolength ≤ 4096

Respuestas

Successful Response

application/json

detail*string
token_auth_secret?string | null