POST
/
project
/
{project_id}
/
location
/
{location}
/
firewall
/
{firewall_name}
/
firewall-rule

Authorizations

Authorization
string
headerrequired

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

Path Parameters

firewall_name
string
required

Name of the firewall

location
string
required

The Ubicloud location/region

project_id
string
required

ID of the project

Body

application/json
cidr
string
required

CIDR of the firewall rule

firewall_id
string
port_range
string

Port range of the firewall rule

project_id
string

Response

200 - application/json
cidr
string
required

CIDR of the firewall rule

id
string
required

ID of the firewall rule

port_range
string
required

Port range of the firewall rule