Skip to main content
GET
/
firewall
/
groups
/
{firewallGroup}
/
rules
/
{firewallRule}
Get a firewall rule
curl --request GET \
  --url https://console.wenium.com/api/firewall/groups/{firewallGroup}/rules/{firewallRule} \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "data": {
    "id": 1,
    "firewall_group_id": 1,
    "type": "Inbound",
    "action": "ACCEPT",
    "protocol": "TCP",
    "port": "80",
    "address": "0.0.0.0/0",
    "created_at": "2026-07-03T00:00:00.000000Z",
    "updated_at": "2026-07-03T00:00:00.000000Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

firewallGroup
integer
required
firewallRule
integer
required

Response

200 - application/json

Rule details

status
boolean
Example:

true

data
object