Skip to main content
GET
Get a server's default firewall policy

Authorizations

Authorization
string
header
required

Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.

Path Parameters

server
string
required

The server UUID

Example:

"ecc6f4f1"

Response

The record, as a JSON object. There is no envelope.

What a server does with traffic none of its firewall rules matched, and whether the firewall is switched on at all.

enabled
boolean
required

Whether the server's firewall is running at all.

Example:

true

inbound
enum<string>
required

What happens to traffic coming in that no rule matched.

Available options:
allow,
block
Example:

"allow"

outbound
enum<string>
required

What happens to traffic going out that no rule matched.

Available options:
allow,
block
Example:

"allow"