curl -L 'https://api.turso.tech/v3/organizations/{organizationId}/deleted-groups' \
-H 'Authorization: Bearer TOKEN'
{
"groups": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"cascade_databases": 123
}
],
"pagination": {
"next": "<string>"
}
}Groups
List Deleted Groups
Returns groups deleted within the last five days, including empty groups, which can still be restored. Requires a paid plan and an organization-level token. Available even while recovery is disabled for the organization.
GET
/
v3
/
organizations
/
{organizationId}
/
deleted-groups
curl -L 'https://api.turso.tech/v3/organizations/{organizationId}/deleted-groups' \
-H 'Authorization: Bearer TOKEN'
{
"groups": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"cascade_databases": 123
}
],
"pagination": {
"next": "<string>"
}
}Unlike the v1 endpoints, this endpoint identifies the organization by its
UUID — the
id field from
Retrieve Organization.curl -L 'https://api.turso.tech/v3/organizations/{organizationId}/deleted-groups' \
-H 'Authorization: Bearer TOKEN'
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The UUID of the organization. Retrieve it with the Retrieve Organization endpoint (the id field).
Query Parameters
Page size, from 1 to 1000.
Opaque pagination cursor from the previous page's pagination.next.
Was this page helpful?