List CDN Zones
get
/cdn/zonesList all CDN zones in the organization.
Authorization
Authorization
Authorization*string
Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.
Responses
Successful Response
application/json
array<CDNZoneListItem>
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_name?string | null
price_per_hour*number
plan_price_per_gb?record<string, number> | null
price_per_gb_override?record<string, number> | null
monthly_charges*number
project_id*integer
origins_count*integer
rules_count*integer
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