Skip to main content
PATCH
Update a firewall rule

Authorizations

Authorization
string
header
required

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

Path Parameters

firewallGroup
integer
required
firewallRule
integer
required

Body

application/json
type
enum<string>
required
Available options:
Inbound,
Outbound
Example:

"Inbound"

action
enum<string>
required
Available options:
ACCEPT,
REJECT,
DROP
Example:

"ACCEPT"

protocol
enum<string>
required
Available options:
TCP,
UDP,
ICMP,
All
Example:

"TCP"

port
string
required
Example:

"443"

address
string
required
Example:

"0.0.0.0/0"

Response

200 - application/json

Rule updated

status
boolean
Example:

true

message
string
Example:

"Firewall Rule updated and sync triggered."

data
object