POST
/
v1
/
organizations
/
{organizationSlug}
/
databases

Path Parameters

organizationSlug
string
required

The slug of the organization or user account.

Body

application/json
Database data to create a new database
name
string
required

The name of the new database. Must contain only lowercase letters, numbers, dashes. No longer than 64 characters.

group
string
required

The name of the group where the database should be created. The group must already exist.

seed
object
size_limit
string

The maximum size of the database in bytes. Values with units are also accepted, e.g. 1mb, 256mb, 1gb.

is_schema
boolean

Mark this database as the parent schema database that updates child databases with any schema changes. See Multi-DB Schemas.

schema
string

The name of the parent database to use as the schema. See Multi-DB Schemas.

Response

200
application/json
Successful response
database
object

The newly created database