Skip to main content
PUT

Path parameters

string
required
The database ID or name to update

Request body

For updates, the replication_slots array is optional. If provided, it must contain a single replication slot object. If you include a replication slot, it must have an id field to identify which slot to update.
string
A name for this database connection. You can use this name to identify the database across the API.
string
The full connection URL for the database, e.g. postgresql://postgres:secret-password@db.example.com:5432/postgres.Pass in either this parameter or database, hostname, port, username, password.To specify SSL, use the separate ssl field.
string
The database server hostname.
string
The name of the logical database in Postgres.
string
The database username.
string
The database password.
integer
The database server port.
boolean
Whether to use SSL for the connection.
boolean
Whether to use IPv6 for the connection.
object
Connection details for the primary database, only needed when connecting to a replica.
object
Optional metadata as key-value pairs.
array

Response