Postgres
Reset super-user password of the Postgres database
POST
/
project
/
{project_id}
/
location
/
{location}
/
postgres
/
id
/
{postgres_database_id}
/
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_id
string
requiredPostgres database ID
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