---
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
  - `organizationSlug` string, nullable — 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

- Organization
  - `id` string, nullable
  - `name` string, required
  - `slug` string, required
  - `logo` string, nullable
  - `createdAt` string, date-time, required
  - `metadata` string, nullable
  - `description` string, nullable

## Other responses

- `400` — Bad Request. Usually due to missing parameters, or invalid parameters.
- `401` — Unauthorized. Due to missing or invalid authentication.
- `403` — Forbidden. You do not have permission to access this resource or to perform this action.
- `404` — Not Found. The requested resource was not found.
- `429` — Too Many Requests. You have exceeded the rate limit. Try again later.
- `500` — Internal Server Error. This is a problem with the server that you cannot fix.

## Changes

- **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
- **2026-03-04** `21aca40b5846` — 1 info
  - endpoint added

[Change 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/09053e1c8b21/schema)
