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
Range
1 ≤ length ≤ 100origin_url?string | null
Full origin URL. If provided, extracts address, port, protocol, host_header, and base_path.
Range
length ≤ 500address?string | null
Range
1 ≤ length ≤ 255port?integer | null
Range
1 ≤ value ≤ 65535protocol?CDNOriginProtocol | null
Value in
"http""https"weight?integer | null
Range
1 ≤ value ≤ 1000priority?integer | null
Range
1 ≤ value ≤ 100is_backup?boolean | null
health_check_enabled?boolean | null
health_check_path?string | null
Range
length ≤ 255verify_ssl?boolean | null
host_header?string | null
Range
length ≤ 255base_path?string | null
Range
length ≤ 255enabled?boolean | null
s3_auth_enabled?boolean | null
s3_access_key?string | null
Range
8 ≤ length ≤ 128s3_secret_key?string | null
Range
8 ≤ length ≤ 128s3_region?string | null
Range
length ≤ 64s3_service?string | null
Range
length ≤ 32Responses
Successful Response
application/json
uuid*string
detail*string