POST
/
project
/
{project_id}
/
location
/
{location}
/
postgres
/
id
/
{postgres_database_id}
/
firewall-rule
/
{firewall_rule_id}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

location
string
required

The Ubicloud location/region

postgres_database_id
string
required

Postgres database ID

project_id
string
required

ID of the project

firewall_rule_id
string
required

ID of the firewall rule

Body

application/json
cidr
string
required

CIDR of the Postgres firewall rule

Response

200 - application/json
cidr
string
required

CIDR of the Postgres firewall rule

id
string
required

ID of the Postgres firewall rule