DewaVPS

Get firewall rule types

GET
/firewall-rule-types

Retrieve the list of available firewall rule types.

Authorization

ApiKeyAuth
x-apikey<token>

In: header

Response Body

application/json

curl -X GET "https://api.dewavps.com/v1/firewall-rule-types"
{
  "message": "Firewall rule types",
  "data": [
    {
      "name": "SSH",
      "protocol": "tcp",
      "dest_port": 22,
      "dest_port_editable": 0
    }
  ]
}