---
title: "Restore a soft-deleted database."
method: POST
path: "/v1/databases/{id}/restore"
tags: ["Database"]
---

# Restore a soft-deleted database.

`POST /v1/databases/{id}/restore`

## Request

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

Undoes a delete within the recovery grace window; the database returns to
`active` with its data, version, and tier intact.

## Path parameters

- `id` string, required

## Response `200`

Database restored to active

## Other responses

- `401`: Missing or invalid API key
- `404`: Database not found or past the grace window

---

[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)
