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
Rango1 ≤ length ≤ 100
origin_url?string | null

Full origin URL. If provided, extracts address, port, protocol, host_header, and base_path.

Rangolength ≤ 500
address?string | null
Rango1 ≤ length ≤ 255
port?integer | null
Rango1 ≤ value ≤ 65535
protocol?CDNOriginProtocol | null
Valores"http""https"
weight?integer | null
Rango1 ≤ value ≤ 1000
priority?integer | null
Rango1 ≤ value ≤ 100
is_backup?boolean | null
health_check_enabled?boolean | null
health_check_path?string | null
Rangolength ≤ 255
verify_ssl?boolean | null
host_header?string | null
Rangolength ≤ 255
base_path?string | null
Rangolength ≤ 255
enabled?boolean | null
s3_auth_enabled?boolean | null
s3_access_key?string | null
Rango8 ≤ length ≤ 128
s3_secret_key?string | null
Rango8 ≤ length ≤ 128
s3_region?string | null
Rangolength ≤ 64
s3_service?string | null
Rangolength ≤ 32

Respuestas

Successful Response

application/json

uuid*string
detail*string