Get firewall options for a virtual server

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.

Path Parameters

vmid integer · min: 1 required Example

Unique vmid identifier

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
401
error string
message string
code string
timestamp string
requestId string
GET https://cloud.hostup.se/api/vm/{vmid}/firewall/options
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/vm/17562/firewall/options" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "digest": "string",
    "policy_in": "string",
    "enable": 0,
    "ipfilter": 0
  }
}