Create team
POST /teams
POST
/teams
Create a new team with the authenticated user as admin
Request Body
Section titled “Request Body ”object
name
required
Name for the new team (1-255 characters)
string
Responses
Section titled “ Responses ”Team created successfully
object
teamId
required
Unique identifier for the team (nanoid format)
string
name
required
Human-readable name for the team
string
createdAt
required
When the team was created (ISO 8601)
string format: date-time
updatedAt
required
When the team was last modified (ISO 8601)
string format: date-time
Unauthorized - user must be logged in to create a team
Forbidden - only system administrators can create teams