curl -L https://api.turso.tech/v1/organizations/{organizationSlug}/groups \ -H 'Authorization: Bearer TOKEN'
{ "groups": [ { "name": "default", "version": "v0.23.7", "uuid": "0a28102d-6906-11ee-8553-eaa7715aeaf2", "locations": [ "lhr", "ams", "bos" ], "primary": "us-east-1", "delete_protection": false } ] }
Returns a list of groups belonging to the organization or user.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The slug of the organization or user account.
Successful response
Show child attributes
The group name, unique across your organization.
"default"
The current libSQL server version the databases in that group are running.
"v0.23.7"
The group universal unique identifier (UUID).
"0a28102d-6906-11ee-8553-eaa7715aeaf2"
An array of location keys the group is located.
["lhr", "ams", "bos"]
The primary location key.
"us-east-1"
The current status for delete protection. If enabled, the group and all its databases cannot be deleted.
false
Was this page helpful?