Delete firewall rules for a VM

Remove a firewall rule associated with a specific virtual server (VM). You need the VM's ID to specify which server the rule should be removed from. The endpoint returns a request ID to track the operation.

Path Parameters

vmid integer · min: 1 required Example

Unique vmid identifier

Query Parameters

pos string required

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
500
error string
message string
code string
timestamp string
requestId string
DELETE https://cloud.hostup.se/api/vm/{vmid}/firewall
For AI assistants
cURL
curl -X DELETE "https://cloud.hostup.se/api/vm/17394/firewall?pos=string" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "pos": "string"
  }
}