v52

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-03269339953.6 KB
VPS: Firewall

Get firewall details

Retrieve firewall by its ID and rules associated with it.

Use this endpoint to view specific firewall configuration and rules.

get/api/vps/v1/firewall/{firewallId}

Path parameters

firewallIdinteger required
Example:9449049

Firewall ID

Response

Success response

idinteger

Firewall ID

namestring

Firewall name

is_syncedboolean

Is current firewall synced with VPS

created_atstring date-time
updated_atstring date-time

Example response

{
  "id": 65224,
  "name": "HTTP and SSH only",
  "rules": [
    {
      "id": 24541,
      "action": "accept",
      "protocol": "TCP",
      "port": "1024:2048",
      "source": "any",
      "source_detail": "any"
    }
  ],
  "created_at": "2021-09-01T12:00:00Z",
  "updated_at": "2021-09-01T12:00:00Z"
}