---
title: "Add a New Database"
method: POST
path: "/v2/databases/{database_cluster_uuid}/dbs"
tags: ["DigitalOcean-public.v2-new_Databases"]
---

# Add a New Database

`POST /v2/databases/{database_cluster_uuid}/dbs`

To add a new database to an existing cluster, send a POST request to
`/v2/databases/$DATABASE_ID/dbs`.

Note: Database management is not supported for Caching or Valkey clusters.

The response will be a JSON object with a key called `db`. The value of this will be
an object that contains the standard attributes associated with a database.

## Path parameters

- `database_cluster_uuid` string, uuid, required

## Request body

- Database
  - `name` string, required — The name of the database.

## Response `201`

A JSON object with a key of `db`.

- object
  - `db` Database, required
    - `name` string, required — The name of the database.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

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