Create, update, or delete proxy rules for your CDN service to control how traffic is routed to your website via the CDN.
/cdn Accept Example Content-Type Example active boolean required
· Example: true description string required
· Example: Auto-created for A record fqdn string required
· Example: example.com priority integer required
· Example: 50 proxied boolean required
· Example: false zone_name string required
· Example: example.com data object required data.active boolean required
· Example: true data.fqdn string required
· Example: example.com data.proxied boolean required
· Example: false data.rule_id string required
· Example: 446 data.success boolean required
· Example: true True for successful responses.
data.zone_name string required
· Example: example.com requestId string required
· Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba Unique request identifier (UUID).
success boolean required
· Example: true True for successful responses.
timestamp string required
· Example: 2026-02-10T00:00:00.000Z ISO 8601 timestamp (UTC).
https://cloud.hostup.se/api/cdn/proxy-rules curl -X POST "https://cloud.hostup.se/api/cdn/proxy-rules" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"fqdn": "example.com",
"zone_name": "example.com",
"proxied": false,
"priority": 50,
"description": "Auto-created for A record",
"active": true
}' {
"success": true,
"timestamp": "2026-02-10T00:00:00.000Z",
"requestId": "2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba",
"data": {
"success": true,
"rule_id": "446",
"fqdn": "example.com",
"zone_name": "example.com",
"proxied": false,
"active": true
}
} {
"fqdn": "example.com",
"zone_name": "example.com",
"proxied": false,
"priority": 50,
"description": "Auto-created for A record",
"active": true
}