Required Parameters
name
: Rule nameaction
: “allow” or “deny”direction
: “ingress” or “egress”vpc_network_id
: Network IDsources
: Source specificationsdestinations
: Destination specificationsprotocols
: Protocol list (e.g., “tcp”, “udp”)
Optional Parameters
source_ports
: Source port rangesdestination_ports
: Destination port ranges
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Project id
Body
application/json
Available options:
allow
, deny
Available options:
ingress
, egress
tcp, udp
[80, 443, 3000-8080]
[80, 443, 3000-8080]
Response
200 - application/json