Get CDN Zone
get
/cdn/zones/{zone_uuid}Get a specific CDN zone with all details.
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
Responses
Successful Response
application/json
uuid*string
name*string
domain*string
custom_domain?string | null
custom_domain_ssl_status?string | null
custom_domain_ssl_type*string
custom_domain_verified?boolean
Default
falsecustom_domain_verified_at?string | null
custom_domain_verification?CDNCustomDomainVerification | null
How to prove you control the custom domain: either DNS record works.
Add the TXT record txt_name with the value txt_value, or point a CNAME
record from the custom domain to cname_target (the zone's own domain).
A domain at the apex or behind a proxy such as Cloudflare needs the TXT.
Properties (3)
txt_name*string
txt_value?string | null
cname_target*string
certificate_uuid?string | null
status*CDNZoneStatus
Value in
"deploying""active""suspended""deleting""deleted"plan?CDNZonePlanSummary | null
The plan a zone runs on, as embedded in the zone detail response.
Properties (4)
uuid*string
name*string
price_per_gb*record<string, number>
base_price_per_hour*number
price_per_gb_override?record<string, number> | null
project_id*integer
origins*array<CDNOriginItem>
Properties (28)
uuid*string
name*string
address*string
port*integer
protocol*CDNOriginProtocol
Value in
"http""https"weight*integer
priority*integer
is_backup*boolean
health_check_enabled*boolean
health_check_path?string | null
health_check_type?string
Default
"tcp"health_check_method?string
Default
"GET"health_check_expected_status?string
Default
"2xx 3xx"health_check_interval?integer
Default
10health_check_threshold?integer
Default
3health_status*CDNOriginHealthStatus
Value in
"healthy""unhealthy""unknown"health_detail?string | null
health_changed_at?string | null
verify_ssl*boolean
host_header?string | null
base_path?string | null
enabled*boolean
s3_auth_enabled*boolean
s3_access_key?string | null
s3_region?string | null
s3_service?string | null
object_storage_bucket_uuid?string | null
created_at?string | null
rules*array<CDNZoneRuleSummary>
Properties (5)
uuid*string
name*string
rule_type*CDNRuleType
Value in
"ssl""cache""cache_bypass""firewall_ip""firewall_country""firewall_asn""firewall_ua""rate_limit""js_challenge""redirect""header_request""header_response""limit_download_speed""limit_requests""limit_connections""limit_bandwidth""cache_key""url_rewrite"priority*integer
enabled*boolean
token_auth_enabled*boolean
token_auth_ip_binding*boolean
token_auth_secret?string | null
cors_enabled*boolean
cors_allow_origins?string | null
cache_tag_header?string | null
compression_enabled?boolean
Default
falsemanaged_waf?CDNManagedWAF
The managed WAF of a zone: detects and logs ("log") or also answers 403 above the threshold ("block").
Default
{"mode":"off","level":1,"threshold":5,"exclude_rule_ids":[],"exclude_categories":[]}Properties (5)
mode?string
Default
"off"Value in"off""log""block"level?integer
Default
1threshold?integer
Default
5exclude_rule_ids?array<integer>
exclude_categories?array<string>
created_at?string | null
updated_at?string | null