POST
/
v1
/
organizations
/
{organizationName}
/
groups
/
{groupName}
/
transfer
curl -L -X POST 'https://api.turso.tech/v1/organizations/{organizationName}/groups/{groupName}/transfer' \
-H 'Authorization: Bearer TOKEN' \
-d '{
    "organization": "new-organization-name"
}'
{
  "name": "default",
  "version": "v0.23.7",
  "uuid": "0a28102d-6906-11ee-8553-eaa7715aeaf2",
  "locations": [
    "lhr",
    "ams",
    "bos"
  ],
  "primary": "lhr",
  "archived": true
}

You can only transfer groups to organizations you own or are an admin.

Existing database URL and tokens will continue to work, but should update your application to use the new URL and token as soon as possible.

Path Parameters

organizationName
string
required

The name of the organization or user.

groupName
string
required

The name of the group.

Body

application/json
organization
string

The name of the organization to transfer the group to.

Response

200 - application/json
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.

archived
boolean

Groups on the free tier go to sleep after some inactivity.