> ## 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.

# Remove Organization Team

> Remove a team from an organization



## OpenAPI

````yaml /openapi.json post /auth/organization/remove-team
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/remove-team:
    post:
      tags:
        - Organization Management
      summary: Remove Organization Team
      description: Remove a team from an organization
      operationId: removeOrganizationTeam
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                teamId:
                  type: string
                  description: 'The team ID of the team to remove. Eg: "team-id"'
                organizationId:
                  type: string
                  description: >-
                    The organization ID which the team falls under. If not
                    provided, it will default to the user's active organization.
                    Eg: "organization-id"
              required:
                - teamId
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    enum:
                      - Team removed successfully.
                    description: Confirmation message indicating successful removal
                required:
                  - message
        '401':
          description: Missing or invalid credentials
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````