---
title: "Update Database"
method: PUT
path: "/databases/{databaseId}"
tags: ["Databases"]
---

# Update Database

`PUT /databases/{databaseId}`

Update the details of an existing database.

## Request body

- object
  - `name` string
  - `description` string

## Response `200`

The updated database.

- object
  - `data` Database
    - `id` string
    - `name` string
    - `description` string, nullable
    - `workspaceId` string
    - `tablesCount` integer — Number of tables in this database.
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Other responses

- `429` — Rate limit exceeded.

---

[API](https://skmtc.net/softr/apis/softr-database-api.md) · [All operations](https://skmtc.net/softr/apis/softr-database-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/softr/softr-database-api/versions/c79eeba23ce3/schema)
