v51

OpenAPI 3.0.0raw.githubusercontent.com2026-08-01267339950.6 KB
VPS: Firewall

Get firewall list

Retrieve all available firewalls.

Use this endpoint to view existing firewall configurations.

get/api/vps/v1/firewall

Query parameters

pageinteger
Example:1

Page number

Response

Success response

Example response

{
  "data": [
    {
      "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"
    }
  ],
  "meta": {
    "current_page": 1,
    "per_page": 15,
    "total": 100
  }
}