curl --request GET \
--url https://api.ubicloud.com/project/{project_id}/location/{location}/postgres/{postgres_database_reference}/firewall-rule \
--header 'Authorization: Bearer <token>'{
"count": 123,
"items": [
{
"cidr": "<string>",
"id": "frmjgkgbktw62k53005jpx8tt7",
"description": "<string>",
"port": 123
}
]
}curl --request GET \
--url https://api.ubicloud.com/project/{project_id}/location/{location}/postgres/{postgres_database_reference}/firewall-rule \
--header 'Authorization: Bearer <token>'{
"count": 123,
"items": [
{
"cidr": "<string>",
"id": "frmjgkgbktw62k53005jpx8tt7",
"description": "<string>",
"port": 123
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The Ubicloud location/region
"eu-central-h1"
Postgres database ID or name Resource ID or name
ID of the project
"pjkkmx0f2vke4h36nk9cm8v8q0"
A list of Postgres Firewall Rules