Skip to main content
POST
Create Firewall Rule

Authorizations

Authorization
string
header
required

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

Path Parameters

firewall_id
string<uuid>
required

Firewall Group UUID

Body

application/json
protocol
enum<string>
required
Available options:
tcp,
udp,
icmp
Example:

"tcp"

subnet
string
required

IP/CIDR, special value (Cloudflare, Onidel, HetrixTools, CloudFront, UptimeRobot), or IP list (list:{uuid})

Example:

"0.0.0.0"

subnet_size
string
required

CIDR prefix length

Example:

"0"

team_id
string<uuid>
port
string

Port number or range (e.g. '80', '8000:9000'). Not required for ICMP.

Example:

"443"

desc
string
Example:

"Allow HTTPS traffic"

Response

Firewall rule created successfully

firewall_rule
object