> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.select.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a team

> Create a team in your organization.



## OpenAPI

````yaml https://api.select.dev/v2/openapi.json post /teams
openapi: 3.1.0
info:
  title: SELECT API (v2)
  version: 0.1.0
servers:
  - url: https://api.select.dev/v2
    description: SELECT API v2
security: []
paths:
  /teams:
    post:
      tags:
        - teams
      summary: Create a team
      description: Create a team in your organization.
      operationId: create_team_route_teams_post
      parameters:
        - name: x-tenant-id
          in: header
          required: true
          schema:
            type: string
            description: The organization ID the request is scoped to.
            title: X-Tenant-Id
          description: The organization ID the request is scoped to.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamCreateV2'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamV2'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    TeamCreateV2:
      properties:
        name:
          type: string
          title: Name
          description: The name of the team.
        default_member_role:
          $ref: '#/components/schemas/TeamRoleEnum'
          description: Default role for members added to this team.
          default: editor
      additionalProperties: false
      type: object
      required:
        - name
      title: TeamCreateV2
    TeamV2:
      properties:
        id:
          type: string
          title: Id
          description: The unique identifier of the team.
          readOnly: true
          x-terraform-computed: true
        name:
          type: string
          title: Name
          description: The name of the team.
        is_all_users:
          type: boolean
          title: Is All Users
          description: >-
            Whether this team automatically includes every organization member.
            System-managed; not settable via the API.
          readOnly: true
          x-terraform-computed: true
        default_member_role:
          $ref: '#/components/schemas/TeamRoleEnum'
          description: Default role for members added to this team.
        create_time:
          type: string
          title: Create Time
          description: When the team was created — RFC 3339 UTC, e.g. 2026-06-05T10:30:00Z.
          readOnly: true
          x-terraform-computed: true
        update_time:
          type: string
          title: Update Time
          description: When the team was last updated — RFC 3339 UTC.
          readOnly: true
          x-terraform-computed: true
        etag:
          type: string
          title: Etag
          description: Opaque strong ETag for optimistic concurrency.
          readOnly: true
          x-terraform-computed: true
      type: object
      required:
        - id
        - name
        - is_all_users
        - default_member_role
        - create_time
        - update_time
        - etag
      title: Team
      description: >-
        A team groups organization members for scoped access to SELECT
        resources.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TeamRoleEnum:
      type: string
      enum:
        - editor
        - viewer
      title: TeamRoleEnum
      description: >-
        Defines the permission level of a user within a team:

        - EDITOR: Can manage team resources, create and modify shared items, and
        change settings

        - VIEWER: Can view team resources and have limited interaction
        capabilities
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      description: Organization API key (sl_…).
      scheme: bearer

````