Postgres
Reset superuser password of the Postgres database
POST
/
project
/
{project_id}
/
location
/
{location}
/
postgres
/
{postgres_database_name}
/
reset-superuser-password
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
project_id
string
requiredID of the project
location
string
requiredThe Ubicloud location/region
postgres_database_name
string
requiredPostgres database name
Body
application/json
password
string
requiredResponse
200 - application/json
flavor
string
requiredKind of Postgres database
ha_type
string
requiredHigh availability type
id
string
requiredID of the Postgres database
location
string
requiredLocation of the Postgres database
name
string
requiredName of the Postgres database
state
string
requiredState of the Postgres database
storage_size_gib
integer
requiredStorage size in GiB
version
string
requiredPostgres version
vm_size
string
requiredSize of the underlying VM
connection_string
string | null
requiredConnection string to the Postgres database
earliest_restore_time
string | null
requiredEarliest restore time (if primary)
firewall_rules
object[]
requiredList of Postgres firewall rules
latest_restore_time
string
requiredLatest restore time (if primary)"
primary
boolean
requiredIs the database primary