---
title: "To switch between projects"
method: PUT
path: "/v1/auth/switch-team"
tags: ["Auth"]
---

# To switch between projects

`PUT /v1/auth/switch-team`

## Request

- Base URL: `https://api.translate.video` (the document declares no server; this is the origin it was published from)
- URL: `https://api.translate.video/v1/auth/switch-team`
- Auth: HTTP bearer

Need to provide apitoken of an project in the header to switch to a different project

## Headers

- `vitra-apitoken` string

## Request body

- SwitchTeamDto
  - `teamId` string, required: Team Id
  - `authInfoDto` AuthInfoDto
    - `authType` string: Login Method eg. EMAIL | GOOGLE | FACEBOOK
    - `deviceInfo` object: Device Information
    - `authScope` string: Login Scope eg. WEB | API

## Response `200`

Project switched successfully.

## Other responses

- `401`: You do not have access to this team.

---

[API](https://skmtc.dev/translate/apis/translate-video-server.md) - [All operations](https://skmtc.dev/translate/apis/translate-video-server/llms.txt) - [OpenAPI document](https://skmtc.dev/translate/apis/translate-video-server/revisions/d99673eed87e?raw)
