Teams
Manage teams within organisations.
Requires the organization plugin with teams enabled.
Teams are sub-groups within organisations for organising members.
Teams List
The teams table displays all teams across organisations:
| Column | Description |
|---|---|
| Name | Team display name |
| Organisation | Parent organisation |
| Members | Number of team members |
| Created | Creation date |
Filtering
- Search: Filter by team name
- Organisation filter: Filter by parent organisation
Team Details
Click a team row to view:
- Team name
- Parent organisation
- Member list
- Creation and update timestamps
Actions
Edit Team
Update team name and settings.
Delete Team
Remove the team. Members remain in the organisation but lose team-specific assignments.
Team Members
View and manage team membership:
| Column | Description |
|---|---|
| User | Member's name and email |
| Org Role | Role in the organisation |
| Added | When added to team |
Add Member
Add existing organisation members to the team.
Remove Member
Remove a user from the team. They remain in the organisation.
Enabling Teams
Enable teams in the organization plugin:
import { organization } from "better-auth/plugins";
const auth = betterAuth({
// ...
plugins: [
organization({ teams: { enabled: true } }),
],
});Teams require the organization plugin with teams.enabled: true.
Related Features
- Organisations - Parent organisation management
- Invitations - Invite new members
- Plugins - Plugin configuration