Skip to main content

List Teams

Auth: optionalAuth. Returns teams the authenticated user belongs to, with member counts and associated projects.

Create Team

Auth: requireAuth. The creator is automatically added as owner. An invite code is auto-generated in the format KEY-XXXXXXXX. Broadcasts: team:created

Join Team

Auth: requireAuth. Adds the user as a member of the team.

Get Team

Returns team details with members and project associations.

Update Team

Broadcasts: team:updated

Delete Team

Cascades: removes all team members, project-team associations, and nullifies teamId on associated tasks. Broadcasts: team:deleted

Members

List Members

Returns team members with user details, ordered by join date.

Add Member

Auth: requireAuth.

Remove Member

Removes a user from the team.