CDN
Update Origin
patch
/cdn/zones/{zone_uuid}/origins/{origin_uuid}Update an origin. You can provide a full origin_url to update address, port, protocol, host_header, and base_path at once.
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
origin_uuid*string
Cuerpo de la petición
Update a CDN origin
application/jsonObligatorio
name?string | null
Rango
1 ≤ length ≤ 100origin_url?string | null
Full origin URL. If provided, extracts address, port, protocol, host_header, and base_path.
Rango
length ≤ 500address?string | null
Rango
1 ≤ length ≤ 255port?integer | null
Rango
1 ≤ value ≤ 65535protocol?CDNOriginProtocol | null
Valores
"http""https"weight?integer | null
Rango
1 ≤ value ≤ 1000priority?integer | null
Rango
1 ≤ value ≤ 100is_backup?boolean | null
health_check_enabled?boolean | null
health_check_path?string | null
Rango
length ≤ 255verify_ssl?boolean | null
host_header?string | null
Rango
length ≤ 255base_path?string | null
Rango
length ≤ 255enabled?boolean | null
s3_auth_enabled?boolean | null
s3_access_key?string | null
Rango
8 ≤ length ≤ 128s3_secret_key?string | null
Rango
8 ≤ length ≤ 128s3_region?string | null
Rango
length ≤ 64s3_service?string | null
Rango
length ≤ 32Respuestas
Successful Response
application/json
uuid*string
detail*string