View the status, ID, and specific settings for your CDN zones. This endpoint returns information necessary for managing DNS records and CDN configurations, as well as a 'zoneId' required for many subsequent DNS management calls.
domain string required include_records string required Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/cdn/zones curl -X GET "https://cloud.hostup.se/api/cdn/zones?domain=string&include_records=string" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"exists": true,
"enabled": true,
"status": "string",
"zoneId": "string",
"name": "string",
"settings": {
"proxy": true,
"ddosMode": "string",
"alwaysUseHttps": true,
"nonSwedenTrafficAction": "string",
"sslMode": "string",
"minTlsVersion": "string",
"botProtection": true,
"blockBadCrawlers": true,
"wpLoginProtection": true,
"wpadminChallenge": true,
"blockBadBots": true,
"earlyHints": true,
"alwaysOnline": true,
"koalityengineAllowlist": true,
"wafSkipEnabled": true,
"wafChallengeGeoEnabled": true,
"customWafIpAllowlist": [
"string"
],
"customWafUaAllowlist": [
"string"
],
"customWafPathAllowlist": [
"string"
],
"dnssecEnabled": true
},
"lastWebhook": "string",
"lastSync": "string",
"securitySettingsUpdated": true,
"geo_whitelist": {
"standard": [
"string"
],
"additional": [
"string"
],
"combined": [
"string"
]
},
"geo_whitelist_countries": "string",
"records": [
{
"record_id": "string",
"type": "string",
"name": "string",
"content": "string",
"ttl": 0,
"priority": "string",
"proxied": true,
"created_on": "string",
"updated_on": "string",
"proxy_rule": {
"exists": true
}
}
],
"recordCount": 0
}
}