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

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
archived
boolean

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

locations
string[]

An array of location keys the group is located.

name
string

The group name, unique across your organization.

primary
string

The primary location key.

uuid
string

The group universal unique identifier (UUID).