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

# Set Organization Active

`POST /auth/organization/set-active`

Set the active organization

## Request body

- object
  - `organizationId` string, nullable — The organization id to set as active. It can be null to unset the active organization. Eg: "org-id"
  - `organizationSlug` string — The organization slug to set as active. It can be null to unset the active organization if organizationId is not provided. Eg: "org-slug"

## Response `200`

Success

- unknown

## Other responses

- `401` — Missing or invalid credentials

## Changes

- **2026-08-24** `9d1da42c10ce` — 1 info
  - the request property `organizationId` became nullable
- **2026-08-24** `200744ae0bef` — 3 breaking
  - the request property `organizationId` became not nullable
  - the request property `organizationSlug` became not nullable
  - the response's body type/format changed from `object`/`` to ``/`` for status `200`
- **2026-08-24** `08bbb5bedb5d` — 3 breaking, 7 info
  - the request property `organizationId` became not nullable
  - the request property `organizationSlug` 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
  - …6 more
- **2026-07-11** `32cece1ebe43` — 3 breaking, 4 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 `slug` from the response with the `200` status
  - removed the optional property `description` from the response with the `200` status
  - …4 more
- **2026-03-05** `c45ef22a736c` — 2 info
  - the request property `organizationId` became nullable
  - the request property `organizationSlug` became nullable

[Full history](https://skmtc.dev/usekaneo/apis/kaneo-api/changes/auth/organization/set-active/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)
