Create and manage proxy rules for your CDN. These rules control how traffic is routed to your services. A successful call returns a rule ID for referencing the rule in future operations, such as deletion.
Accept Example Content-Type Example fqdn string required zone_name string required proxied boolean required priority integer required description string required active boolean required success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string 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": "string",
"zone_name": "string",
"proxied": true,
"priority": 0,
"description": "string",
"active": true
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"rule_id": "string",
"fqdn": "string",
"zone_name": "string",
"proxied": true,
"active": true
}
} {
"fqdn": "string",
"zone_name": "string",
"proxied": true,
"priority": 0,
"description": "string",
"active": true
}