---
title: "Update active tenant for a user"
method: PUT
path: "/users/profile/active-tenant"
tags: ["Identity"]
---

# Update active tenant for a user

`PUT /users/profile/active-tenant`

Sets the active tenant for the user

## Request body

- UserProfileActiveTenantRequest
  - `tenant_id` string — Tenant ID to set as active

## Response `200`

Success

- UserProfileActiveTenantResponse
  - `id` string — ID for user that was updated
  - `tenant_id` string — ID for the new active tenant

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.dev/corestack/apis/corestack-external-api.md) · [All operations](https://skmtc.dev/corestack/apis/corestack-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corestack/corestack-external-api/revisions/bf2cdf20826d/schema)
