curl -L https://api.turso.tech/v1/organizations/{organizationSlug}/invites \
-H 'Authorization: Bearer TOKEN'
{
"invites": [
{
"ID": 1,
"CreatedAt": "2023-01-01T00:00:00Z",
"UpdatedAt": "2023-01-01T00:00:00Z",
"DeletedAt": "2023-01-01T00:00:00Z",
"Role": "member",
"Email": "iku@turso.tech",
"OrganizationID": 1,
"Token": "3e393245b91b41ebad0980bc98349c9d",
"Organization": {
"name": "turso",
"slug": "turso",
"type": "team",
"overages": false,
"blocked_reads": false,
"blocked_writes": false
},
"Accepted": false
}
]
}
Returns a list of invites for the organization.
curl -L https://api.turso.tech/v1/organizations/{organizationSlug}/invites \
-H 'Authorization: Bearer TOKEN'
{
"invites": [
{
"ID": 1,
"CreatedAt": "2023-01-01T00:00:00Z",
"UpdatedAt": "2023-01-01T00:00:00Z",
"DeletedAt": "2023-01-01T00:00:00Z",
"Role": "member",
"Email": "iku@turso.tech",
"OrganizationID": 1,
"Token": "3e393245b91b41ebad0980bc98349c9d",
"Organization": {
"name": "turso",
"slug": "turso",
"type": "team",
"overages": false,
"blocked_reads": false,
"blocked_writes": false
},
"Accepted": false
}
]
}
curl -L https://api.turso.tech/v1/organizations/{organizationSlug}/invites \
-H 'Authorization: Bearer TOKEN'
The slug of the organization or user account.
Successful response
The response is of type object
.
Was this page helpful?