POST
/
v1
/
organizations
/
{organizationName}
/
groups
curl -L -X POST 'https://api.turso.tech/v1/organizations/{organizationName}/groups' \
-H 'Authorization: Bearer TOKEN' \
-H 'Content-Type: application/json' \
-d '{
    "name": "new-group",
    "location": "lhr"
}'
{
  "group": {
    "name": "default",
    "version": "v0.23.7",
    "uuid": "0a28102d-6906-11ee-8553-eaa7715aeaf2",
    "locations": [
      "lhr",
      "ams",
      "bos"
    ],
    "primary": "lhr",
    "archived": true
  }
}
Creating more than one group is limited to paid plans.
curl -L -X POST 'https://api.turso.tech/v1/organizations/{organizationName}/groups' \
-H 'Authorization: Bearer TOKEN' \
-H 'Content-Type: application/json' \
-d '{
    "name": "new-group",
    "location": "lhr"
}'

Path Parameters

organizationName
string
required

The name of the organization or user.

Body

application/json
name
string
required

The name of the new group.

location
string
required

The location key for the new group.

extensions

The extensions to enable for new databases created in this group.

Available options:
all

Response

200 - application/json
group
object

The newly created group