---
title: "Delete a database."
method: DELETE
path: "/v1/databases/{id}"
tags: ["Database"]
---

# Delete a database.

`DELETE /v1/databases/{id}`

## Request

- Base URL: `https://api.scalix.world`
- URL: `https://api.scalix.world/v1/databases/{id}`
- Auth: HTTP bearer

Soft-deletes the database: it is hidden from listings and restorable via
`POST /v1/databases/{id}/restore` until the grace window ends, after which
it is purged permanently.

## Path parameters

- `id` string, required

## Response `200`

Database scheduled for deletion

## Other responses

- `401`: Missing or invalid API key
- `404`: Database not found

---

[API](https://skmtc.dev/scalix/apis/scalix-cloud-api.md) · [All operations](https://skmtc.dev/scalix/apis/scalix-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scalix/apis/scalix-cloud-api/revisions/2c04ca0a90bb?raw)
