Get firewall group details

Retrieve detailed information about a specific firewall group, including its rules. This data is necessary for subsequent API calls to manage or configure firewall rules.

Path Parameters

id string required Example

UUID for id

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
GET https://cloud.hostup.se/api/firewall-groups/{id}
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/firewall-groups/33a92604-2d3a-49c1-b400-78472ff5c1fc" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "group": {
      "id": "string",
      "client_id": 0,
      "name": "string",
      "description": "string",
      "is_system": true,
      "created_at": "string",
      "updated_at": "string",
      "rules": [
        {
          "id": "string",
          "type": "string",
          "action": "string",
          "enable": true,
          "pos": 0,
          "proto": "string",
          "dport": "string",
          "sport": "string",
          "source": "string",
          "dest": "string",
          "comment": "string",
          "iface": "string",
          "macro": "string",
          "created_at": "string",
          "updated_at": "string"
        }
      ]
    }
  }
}