---
title: "Switch Workspace"
method: PUT
path: "/api/v1/workspaces/{workspace_id}/switch"
tags: ["workspaces"]
---

# Switch Workspace

`PUT /api/v1/workspaces/{workspace_id}/switch`

## Request

- Base URL: `https://memory.kagura-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://memory.kagura-ai.com/api/v1/workspaces/{workspace_id}/switch`
- Auth: none declared

Switch to a different workspace.

Updates the user's current_workspace_id to the specified workspace.
Requires the user to have at least viewer access to the workspace.

## Path parameters

- `workspace_id` string, uuid, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud.md) · [All operations](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/revisions/09f17f5ada29?raw)
