Zapora

List VM firewall rules

GET
/cloud/project/{project_uuid}/vm/{vmid}/firewall/rules/

Returns packet-filter rules and attached security groups for this VM.

Authorization

bearerAuth
AuthorizationBearer <token>

API key created in the portal (Settings → API Keys). Send as Authorization: Bearer <key>.

In: header

Path Parameters

project_uuid*string

Project UUID.

vmid*integer

VM identifier (VMID).

Response Body

application/json

curl -X GET "https://example.com/cloud/project/string/vm/0/firewall/rules/"
[  {    "pos": 0,    "type": "string",    "action": "string",    "proto": "string",    "source": "string",    "dest": "string",    "sport": "string",    "dport": "string",    "comment": "string",    "enable": true  }]