# Drop Database (/postgres-clusters/Postgres_databases_delete)

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

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

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `postgres_cluster_id` | path | `string` | Yes | Managed Postgres Cluster ID |
| `database_name` | path | `string` | Yes | Database Name |

## Responses

| Status | Description | Schema |
| --- | --- | --- |
| `200` | OK | `postgresDatabaseResponse` |
| `400` | Database name is reserved, a system database, or malformed | `PostgresErrorResponse` |
| `404` | 'Cluster not found' for the cluster; 'Database not found' for the database | `PostgresErrorResponse` |

The full machine-readable OpenAPI spec is available at /openapi.json.