Activate or deactivate CDN proxy rules and control whether a rule is active. It returns a unique ID that can be used to track changes.
Accept Example Content-Type Example id integer required proxied boolean required active boolean required success boolean timestamp string requestId string data object https://cloud.hostup.se/api/cdn/proxy-rules curl -X PUT "https://cloud.hostup.se/api/cdn/proxy-rules" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": 0,
"proxied": true,
"active": true
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"updated_fields": [
"string"
],
"rows_affected": 0
}
} {
"id": 0,
"proxied": true,
"active": true
}