---
title: "Switch Tenant"
method: POST
path: "/auth/switch-tenant"
tags: ["Authentication"]
---

# Switch Tenant

`POST /auth/switch-tenant`

Switch the caller's active tenant.

Marks `tenant_id` as the caller's active tenant on the server side. The current
JWT is NOT rotated — the caller must refresh their access token after this call
before subsequent requests will be scoped to the new tenant. Returns
`204 No Content` on success.

The caller can only switch into tenants they belong to; other targets return 403.

## Request body

- SwitchTenantRequest
  - `tenant_id` string, required

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/streamkap/apis/streamkap-rest-api.md) · [All operations](https://skmtc.net/streamkap/apis/streamkap-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/streamkap/streamkap-rest-api/versions/8aea6143d003/schema)
