Postgres Firewall Rule
Create a new Postgres firewall rule
POST
/
project
/
{project_id}
/
location
/
{location}
/
postgres
/
_
{postgres_database_id}
/
firewall-rule
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
Body
application/json
cidr
string
requiredCIDR of the firewall rule
Response
200 - application/json
cidr
string
requiredCIDR of the Postgres firewall rule
id
string
requiredID of the Postgres firewall rule