> ## Documentation Index
> Fetch the complete documentation index at: https://kaneo.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Organization Active

> Set the active organization



## OpenAPI

````yaml /openapi.json post /auth/organization/set-active
openapi: 3.1.0
info:
  title: Kaneo API
  version: 1.0.0
  description: Kaneo Project Management API - Manage projects, tasks, labels, and more
servers:
  - url: https://cloud.kaneo.app/api
    description: Kaneo API Server
security:
  - bearerAuth: []
paths:
  /auth/organization/set-active:
    post:
      tags:
        - Organization Management
      summary: Set Organization Active
      description: Set the active organization
      operationId: setOrganizationActive
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                organizationId:
                  type:
                    - string
                    - 'null'
                  description: >-
                    The organization id to set as active. It can be null to
                    unset the active organization. Eg: "org-id"
                organizationSlug:
                  type: string
                  description: >-
                    The organization slug to set as active. It can be null to
                    unset the active organization if organizationId is not
                    provided. Eg: "org-slug"
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema: {}
        '401':
          description: Missing or invalid credentials
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````