Remove a PostgreSQL database

Delete a database and all of its data. We close the database's open connections first and remove the database from every user's privileges. An instance must keep at least one database.

DELETE https://{availability_zone}.betterstackcloud.com/v1/postgres/{postgres_id}/databases/{id}
postgres_id string required

The ID of the PostgreSQL instance.

id string required

The ID of the PostgreSQL database to remove.

Authorization string required

Bearer $TOKEN

204 No Content

The PostgreSQL database is deleted. The response has no body.