Retrieve the current firewall settings for a specific virtual server (VM). An ID is returned for subsequent calls to manage these settings, useful for understanding your VM's current network security configuration.
vmid integer · min: 1 required Example Unique vmid identifier
Accept Example Content-Type Example success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string https://cloud.hostup.se/api/vm/{vmid}/firewall/options curl -X GET "https://cloud.hostup.se/api/vm/17562/firewall/options" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"digest": "string",
"policy_in": "string",
"enable": 0,
"ipfilter": 0
}
}