Database sleep
Sleep a database
Accepts a request to sleep a Postgres database. Sleep runs asynchronously.
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 |
POST
Sleep a database
This endpoint is in beta and available only to organizations with access. Learn more.
Authorizations
Path Parameters
Body
application/json
Response
Returns the database. The sleep request was accepted and runs asynchronously.

