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

# Switch to a different team



## OpenAPI

````yaml https://api.wirespeed.co/v1/openapi.json post /auth/team
openapi: 3.0.0
info:
  title: Wirespeed API
  description: The public Wirespeed API. v1 is the first stable contract.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.wirespeed.co
security: []
tags: []
paths:
  /auth/team:
    post:
      tags:
        - Authentication
      summary: Switch to a different team
      operationId: AuthController_switchTeam
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SwitchTeamDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JWTResponse'
        '401':
          description: ''
      security:
        - bearer: []
components:
  schemas:
    SwitchTeamDto:
      type: object
      properties:
        teamId:
          type: string
          description: Team ID to switch to
      required:
        - teamId
    JWTResponse:
      type: object
      properties:
        accessToken:
          type: string
          description: JWT access token for authenticated requests
      required:
        - accessToken
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: API key
      type: http
      description: >-
        Team API key sent as a Bearer token. Create a key in Wirespeed under
        Settings → Team. See
        https://docs.wirespeed.co/api-reference/authentication.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.