---
title: "POST /api/sql-databases/create"
method: POST
path: "/api/sql-databases/create"
tags: ["sql-databases"]
---

# POST /api/sql-databases/create

`POST /api/sql-databases/create`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/fermyon/apis/fermyon-cloud-api/docs/api/sql-databases/create/post.ts> (a function with typed inputs; its response is checked against the schema)

## Headers

- `Api-Version` string

## Request body

- CreateSqlDatabaseCommand
  - `name` string, required
  - `appId` string, uuid, nullable
  - `label` string, nullable

## Response `200`

Success

## Changes

- **2023-09-28** `da6d9622301d`: 4 info
  - added the new optional request property `label` (media type: application/json-patch+json)
  - added the new optional request property `label` (media type: application/json)
  - added the new optional request property `label` (media type: text/json)
  - added the new optional request property `label` (media type: application/*+json)
- **2023-07-24** `4aa17fc81b07`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/changes/api/sql-databases/create/post.md)

---

[API](https://skmtc.dev/fermyon/apis/fermyon-cloud-api.md) - [All operations](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/revisions/78d366daf86a?raw)
