Skip to main content
POST
Create Database

Authorizations

Authorization
string
header
required

A Fly API token with access to the requested organization or resource. Send it as Authorization: Bearer <Fly API token>.

Path Parameters

postgres_cluster_id
string
required

Managed Postgres Cluster ID

Body

application/json

Database details

name
string
required

Name of the database to create. Must start and end with an alphanumeric character and may contain hyphens and underscores, up to 63 characters.

Example:

"customer_data"

Response

Created

data
object