---
title: "Drop Database"
method: POST
path: "/api/admin/database/drop"
tags: ["Admin"]
---

# Drop Database

`POST /api/admin/database/drop`

## Request

- The document declares no server URL.
- Auth: none declared

Drop all database objects.

## Headers

- `x-prefect-api-version` string

## Request body

- BodyDropDatabaseAdminDatabaseDropPost
  - `confirm` boolean: Pass confirm=True to confirm you want to modify the database.

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/prefecthq/apis/prefect-unreleased-api.md) - [All operations](https://skmtc.dev/prefecthq/apis/prefect-unreleased-api/llms.txt) - [OpenAPI document](https://skmtc.dev/prefecthq/apis/prefect-unreleased-api/revisions/29ba6c4f8837?raw)
