---
title: "Delete Database"
method: DELETE
path: "/redis/database/{id}"
tags: ["redis"]
---

# Delete Database

`DELETE /redis/database/{id}`

## Request

- Base URL: `https://api.upstash.com/v2`
- URL: `https://api.upstash.com/v2/redis/database/{id}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/upstash/apis/developer-api-upstash/docs/redis/database/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint deletes a database.

## Path parameters

- `id` string, required

## Response `200`

OK

- string

---

[API](https://skmtc.dev/upstash/apis/developer-api-upstash.md) - [All operations](https://skmtc.dev/upstash/apis/developer-api-upstash/llms.txt) - [OpenAPI document](https://skmtc.dev/upstash/apis/developer-api-upstash/revisions/bddbdcab9052?raw)
