---
title: "Create a new database"
method: POST
path: "/databases"
tags: ["Databases"]
---

# Create a new database

`POST /databases`

## Request body

- SetupDatabaseService
  - `type` 'postgres' | 'mongo' | 'redis', required
  - `ram` integer, required
  - `password` string, required
  - `visualizer` boolean
  - `name` string, required

## Response `201`

Database created successfully

- Success
  - `message` string

## Other responses

- `400` — Bad request or validation error

---

[API](https://skmtc.net/shardcloud/apis/cloud-website-api.md) · [All operations](https://skmtc.net/shardcloud/apis/cloud-website-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shardcloud/cloud-website-api/versions/7fe2fc6c24d7/schema)
