Postgres Firewall Rule
Create a new Postgres firewall rule
POST
/
project
/
{project_id}
/
location
/
{location}
/
postgres
/
id
/
{postgres_database_id}
/
firewall-rule
/
{firewall_rule_id}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
location
string
requiredThe Ubicloud location/region
postgres_database_id
string
requiredPostgres database ID
project_id
string
requiredID of the project
firewall_rule_id
string
requiredID of the firewall rule
Body
application/json
cidr
string
requiredCIDR of the Postgres firewall rule
Response
200 - application/json
cidr
string
requiredCIDR of the Postgres firewall rule
id
string
requiredID of the Postgres firewall rule