Groups
List Groups
- Docs Home
- Turso Homepage
- Blog & Tutorials
- Discord
- GitHub
Databases
Groups
Locations
Organizations
Members
Invites
Audit Logs
API Tokens
Resources
Groups
List Groups
Returns a list of groups belonging to the organization or user.
GET
/
v1
/
organizations
/
{organizationName}
/
groups
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
organizationName
string
*
organizationName
Required
string
The name of the organization or user.
curl -L https://api.turso.tech/v1/organizations/{organizationName}/groups \
-H 'Authorization: Bearer TOKEN'
{
"groups": [
{
"name": "default",
"version": "v0.23.7",
"uuid": "0a28102d-6906-11ee-8553-eaa7715aeaf2",
"locations": [
"lhr",
"ams",
"bos"
],
"primary": "lhr",
"archived": true
}
]
}
Path Parameters
organizationName
string
requiredThe name of the organization or user.
Response
200 - application/json
groups
object[]
groups.name
string
The group name, unique across your organization.
groups.version
string
The current libSQL server version the databases in that group are running.
groups.uuid
string
The group universal unique identifier (UUID).
groups.locations
string[]
An array of location keys the group is located.
groups.primary
string
The primary location key.
groups.archived
boolean
Groups on the free tier go to sleep after some inactivity.
Was this page helpful?
curl -L https://api.turso.tech/v1/organizations/{organizationName}/groups \
-H 'Authorization: Bearer TOKEN'
{
"groups": [
{
"name": "default",
"version": "v0.23.7",
"uuid": "0a28102d-6906-11ee-8553-eaa7715aeaf2",
"locations": [
"lhr",
"ams",
"bos"
],
"primary": "lhr",
"archived": true
}
]
}