---
title: "Drop Database"
method: DELETE
path: "/v1/postgres/{postgres_cluster_id}/databases/{database_name}"
tags: ["Postgres Clusters"]
---

# Drop Database

`DELETE /v1/postgres/{postgres_cluster_id}/databases/{database_name}`

Delete a specific database within a cluster, along with objects that depend on it.

## Path parameters

- `postgres_cluster_id` string, required
- `database_name` string, required

## Response `200`

OK

- PostgresDatabaseResponse
  - `data` PostgresDatabase
    - `name` string — Database name.

## Other responses

- `400` — Database name is reserved, a system database, or malformed
- `404` — 'Cluster not found' for the cluster; 'Database not found' for the database

## Changes

- **2026-08-12** `f54480c4ce7f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/machines/apis/machines-api/changes/v1/postgres/:postgres_cluster_id/databases/:database_name/delete.md)

---

[API](https://skmtc.dev/machines/apis/machines-api.md) · [All operations](https://skmtc.dev/machines/apis/machines-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/machines/machines-api/revisions/80746f322f20/schema)
