Rotate Password
databases
Rotate Password
Rotate the database password. The old password stops working immediately.
POST
Rotate Password
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The organization's id (UUID) or slug — either form is accepted.
The project's id (UUID) or slug — either form is accepted.
The database's id (UUID), from databases.list.
Response
New credentials issued. The connection string is shown once; store it securely. Rotate to obtain a new one.
Full postgres:// connection string including the password. Shown exactly once — it is never retrievable later.