---
title: "Set Organization Active Team"
method: POST
path: "/auth/organization/set-active-team"
tags: ["Organization Management"]
---

# Set Organization Active Team

`POST /auth/organization/set-active-team`

Set the active team for the current active organization

## Request body

- object
  - `teamId` string, nullable — The team id to set as active. It can be null to unset the active team

## Response `200`

Success

- unknown

## Other responses

- `401` — Missing or invalid credentials

## Changes

- **2026-08-24** `9d1da42c10ce` — 1 info
  - the request property `teamId` became nullable
- **2026-08-24** `200744ae0bef` — 2 breaking
  - the request property `teamId` became not nullable
  - the response's body type/format changed from `object`/`` to ``/`` for status `200`
- **2026-08-24** `08bbb5bedb5d` — 2 breaking, 7 info
  - the request property `teamId` became not nullable
  - removed the media type `application/json` for the response with the status `401`
  - the endpoint scheme security `bearerAuth` was removed from the API
  - removed `#/components/schemas/Team` from the response body `allOf` list for the response status `200`
  - …5 more
- **2026-07-11** `32cece1ebe43` — 3 breaking, 2 warning, 1 info
  - removed the required property `createdAt` from the response with the `200` status
  - removed the required property `name` from the response with the `200` status
  - removed the required property `organizationId` from the response with the `200` status
  - removed the optional property `id` from the response with the `200` status
  - …2 more
- **2026-03-05** `c45ef22a736c` — 1 info
  - the request property `teamId` became nullable

[Full history](https://skmtc.dev/usekaneo/apis/kaneo-api/changes/auth/organization/set-active-team/post.md)

---

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