---
title: "Delete database"
method: DELETE
path: "/api/v1/databases/{database_id}"
tags: ["Managed Databases"]
---

# Delete database

`DELETE /api/v1/databases/{database_id}`

Permanently delete a managed database and its backups. This cannot be undone.

If the database has an active subscription, the remaining prepaid balance is refunded pro-rata to your account balance.

## Path parameters

- `database_id` string, required

## Response `200`

Deletion started

- SuccessResponse
  - `success` boolean
  - `message` string

## Other responses

- `401` — Authentication required
- `404` — Resource not found

---

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