TypeScript
---
title: Team & organization
description: Invite teammates and change your Turso organization's settings.
---
These work on the organization your [token](/turso/setup) belongs to.
Invites and members need a team organization on a paid plan. The free plan doesn't allow them.
## Invite a teammate
```typescript
yield* Turso.OrganizationInvite("Alice", {
email: "[email protected]",
role: "admin",
});
```
`role` is `admin`, `member`, or `viewer`. The default is `member`. Changing it sends the invite again. Destroying it cancels the invite.
## Add an existing user
```typescript
yield* Turso.OrganizationMember("Bob", {
username: "bob",
role: "viewer",
});
```
Use this when the person already has a Turso account. You can change `role` later. Destroying it removes them.
## Change organization settings
```typescript
yield* Turso.OrganizationSettings("Org", {
requireMfa: true,
restoreEnabled: true,
});
```
Alchemy only touches the settings you list. Destroying it puts them back the way they were.
`overages` lets Turso bill you for usage past your plan's limits. Only turn it on if you mean to.
## Where next
- [Organization reference](/providers/turso/reference/organization)