POST
/
v1
/
organizations
/
{organizationSlug}
/
databases

Path Parameters

organizationSlug
string
required

The slug of the organization or user account.

Body

application/json
group
string
required

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

name
string
required

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

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.

seed
object
size_limit
string

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

Response

200 - application/json
database
object

The newly created database