---
title: "Create Group"
method: POST
path: "/v1/organizations/{organizationSlug}/groups"
---

# Create Group

`POST /v1/organizations/{organizationSlug}/groups`

Creates a new group for the organization or user.

## Path parameters

- `organizationSlug` string, required

## Request body

- NewGroup
  - `name` string, required — The name of the new group.
  - `location` string, required — The location key for the new group.
  - `extensions` union — The extensions to enable for new databases created in this group. Users looking to enable vector extensions should instead use the native [libSQL vector datatype](/features/ai-and-embeddings).
    - 'all' — Set to `all` to enable all extensions.
    - string[] — Array of extensions to enable.

## Response `200`

Successful response

- object
  - `group` Group
    - `name` string — The group name, unique across your organization.
    - `version` string — The current libSQL server version the databases in that group are running.
    - `uuid` string — The group universal unique identifier (UUID).
    - `locations` string[] — An array of location keys the group is located.
    - `primary` string — The primary location key.
    - `delete_protection` boolean — The current status for delete protection. If enabled, the group and all its databases cannot be deleted.

## Other responses

- `409` — Conflict

---

[API](https://skmtc.net/turso/apis/turso-platform-api.md) · [All operations](https://skmtc.net/turso/apis/turso-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/turso/turso-platform-api/revisions/6c99e4c88978/schema)
