POST
/
project
/
{project_id}
/
location
/
{location}
/
postgres
/
id
/
{postgres_database_id}
/
reset-superuser-password

Authorizations

Authorization
string
headerrequired

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

Path Parameters

project_id
string
required

ID of the project

location
string
required

The Ubicloud location/region

postgres_database_id
string
required

Postgres database ID

Body

application/json
password
string
required

Response

200 - application/json
flavor
string
required

Kind of Postgres database

ha_type
string
required

High availability type

id
string
required

ID of the Postgres database

location
string
required

Location of the Postgres database

name
string
required

Name of the Postgres database

state
string
required

State of the Postgres database

storage_size_gib
integer
required

Storage size in GiB

version
string
required

Postgres version

vm_size
string
required

Size of the underlying VM

connection_string
string | null
required

Connection string to the Postgres database

earliest_restore_time
string | null
required

Earliest restore time (if primary)

firewall_rules
object[]
required

List of Postgres firewall rules

latest_restore_time
string
required

Latest restore time (if primary)"

primary
boolean
required

Is the database primary