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

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.

curl -L -X POST 'https://api.turso.tech/v1/organizations/{organizationSlug}/groups/{groupName}/transfer' \
-H 'Authorization: Bearer TOKEN' \
-d '{
    "organization": "new-organization-slug"
}'

Path Parameters

organizationSlug
string
required

The slug of the organization or user account.

groupName
string
required

The name of the group.

Body

application/json
Receiving Organization details.
organization
string

The slug of the organization to transfer the group to.

Response

200
application/json
Successful response
name
string

The group name, unique across your organization.

Example:

"default"

version
string
deprecated

The current libSQL server version the databases in that group are running.

Example:

"v0.23.7"

uuid
string

The group universal unique identifier (UUID).

Example:

"0a28102d-6906-11ee-8553-eaa7715aeaf2"

locations
string[]
deprecated

An array of location keys the group is located.

Example:
["lhr", "ams", "bos"]
primary
string

The primary location key.

Example:

"us-east-1"

delete_protection
boolean

The current status for delete protection. If enabled, the group and all its databases cannot be deleted.

Example:

false