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.

Authorization

Authorization
Authorization*string

Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.

Path parameters

zone_uuid*string
origin_uuid*string

Request body

Update a CDN origin

application/jsonRequired
name?string | null
Range1 ≤ length ≤ 100
origin_url?string | null

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

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

Responses

Successful Response

application/json

uuid*string
detail*string