Restart a bouncer
Restarts the PgBouncer processes behind a bouncer one instance at a time.
Each instance starts a new PgBouncer process and keeps accepting connections while the old process drains. Connections still open at the end of the drain are closed and their in-flight transactions are interrupted; clients that reconnect recover on their own.
A bouncer accepts one restart at a time. A restart that ends in the
failed state has an unconfirmed outcome: some instances may have
restarted, and nothing is rolled back.
Authorization
A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:
Service Token Accesses
write_database
OAuth Scopes
| Resource | Scopes |
|---|---|
| Organization | write_databases |
| Database | write_database |
Authorizations
Path Parameters
Response
Returns the new restart

