Skip to main content
POST
/
projects
/
{slug}
/
databases
Create Database
curl --request POST \
  --url https://relytone.data.cloud/api/v1/projects/{slug}/databases \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "status": "active",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "branchId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

slug
string
required

Project identifier

Body

application/json
name
string
required

Database name

description
string

Database description

Response

Database created successfully

id
string

Database unique identifier

name
string

Database name

description
string

Database description

status
enum<string>

Database status

Available options:
active,
inactive,
error
createdAt
string<date-time>

Creation time

updatedAt
string<date-time>

Update time

branchId
string

Parent branch ID

I