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": {
    "archived": true,
    "locations": [
      "lhr",
      "ams",
      "bos"
    ],
    "name": "default",
    "primary": "lhr",
    "uuid": "0a28102d-6906-11ee-8553-eaa7715aeaf2"
  }
}

Path Parameters

organizationName
string
required

The name of the organization or user.

Body

application/json
extensions

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

Available options:
all
location
string
required

The location key for the new group.

name
string
required

The name of the new group.

Response

200 - application/json
group
object