CDN
Update Rule
patch
/cdn/zones/{zone_uuid}/rules/{rule_uuid}Update a rule.
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
rule_uuid*string
Cuerpo de la petición
Update a CDN rule
application/jsonObligatorio
name?string | null
Rango
1 ≤ length ≤ 100priority?integer | null
Rango
1 ≤ value ≤ 10000match_conditions?record<string, any> | null
action_config?record<string, any> | null
enabled?boolean | null
expires_at?string | null
Formato
date-timeRespuestas
Successful Response
application/json
uuid*string
detail*string