---
title: "Create a new database on the caller's account"
method: POST
path: "/api/client/databases"
tags: ["Client - Databases"]
---

# Create a new database on the caller's account

`POST /api/client/databases`

## Request body

- object
  - `database_name` string, required

## Response `201`

Database created successfully

- HostingAccountDatabase — Database model for HostingAccount
  - `id` integer — ID of the database
  - `hosting_account_id` integer — ID of the related hosting account
  - `database_name` string — Name of the database
  - `database_name_prefix` string — Prefix for the database name
  - `description` string, nullable — Description of the database (nullable)

## Other responses

- `422` — Validation or creation failure (e.g. duplicate name, quota reached, invalid characters)

---

[API](https://skmtc.dev/adminbolt/apis/adminbolt-api-documentation.md) · [All operations](https://skmtc.dev/adminbolt/apis/adminbolt-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/adminbolt/adminbolt-api-documentation/revisions/bf4f36fbfbd3/schema)
