GET
/
project
/
{project_id}
/
location
/
{location}
/
postgres
curl --request GET \
  --url https://api.ubicloud.com/project/{project_id}/location/{location}/postgres \
  --header 'Authorization: Bearer <token>'
{
  "count": 123,
  "items": [
    {
      "flavor": "<string>",
      "ha_type": "<string>",
      "id": "pgn30gjk1d1e2jj34v9x0dq4rp",
      "location": "<string>",
      "name": "<string>",
      "state": "<string>",
      "storage_size_gib": 123,
      "version": "<string>",
      "vm_size": "<string>",
      "ca_certificates": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

project_id
string
required

ID of the project

Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

location
string
required

The Ubicloud location/region

Example:

"eu-central-h1"

Query Parameters

start_after
string

Pagination - Start after

page_size
integer
default:
10

Pagination - Page size

order_column
string
default:
id

Pagination - Order column

Response

200
application/json
A list of Postgres Databases
count
integer
required
items
object[]
required