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
^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$ID of the project
^pj[0-9a-hj-km-np-tv-z]{24}$"pjkkmx0f2vke4h36nk9cm8v8q0"