---
title: "Update a database"
method: PUT
path: "/databases/{id}"
tags: ["Databases"]
---

# Update a database

`PUT /databases/{id}`

## Path parameters

- `id` string, uuid, required

## Request body

- UpdateDatabaseRequestBody
  - `resource_type` 'db1' | 'db2' | 'db3' | 'db4' | 'db5' | 'db6' | 'db7' | 'db8' | 'db9' — the resource type (database size) to be updated
  - `display_name` string

## Response `200`

Response object of update database request

## Other responses

- `401` — No or invalid API key provided to the request
- `404` — Could not find the company or the user does not have permissions to update a database
- `500` — Error occurred while updating database

---

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