---
title: "Switch Workspace"
method: POST
path: "/api/team/workspaces/{tenant_id}/switch"
tags: ["team"]
---

# Switch Workspace

`POST /api/team/workspaces/{tenant_id}/switch`

## Request

- Base URL: `https://api.advisorppc.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.advisorppc.com/api/team/workspaces/{tenant_id}/switch`
- Auth: HTTP bearer

Make ``tenant_id`` this browser's workspace. Active members only.

## Path parameters

- `tenant_id` integer, required

## Cookies

- `app_token` string, nullable

## Response `200`

Successful Response

- AppRoutersTeamWorkspaceOut
  - `tenant_id` integer, required
  - `name` string, required
  - `role` string, required
  - `kind` string, required
  - `current` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/advisorppc/apis/advisorppc-api.md) · [All operations](https://skmtc.dev/advisorppc/apis/advisorppc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/advisorppc/apis/advisorppc-api/revisions/3441bd729e0c?raw)
