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

> Remove a member from an organization



## OpenAPI

````yaml /openapi.json post /auth/organization/remove-member
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-member:
    post:
      tags:
        - Organization Management
      summary: Remove Organization Member
      description: Remove a member from an organization
      operationId: removeOrganizationMember
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                memberIdOrEmail:
                  type: string
                  description: The ID or email of the member to remove
                organizationId:
                  type: string
                  description: >-
                    The ID of the organization to remove the member from. If not
                    provided, the active organization will be used. Eg: "org-id"
              required:
                - memberIdOrEmail
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  member:
                    type: object
                    properties:
                      id:
                        type: string
                      userId:
                        type: string
                      organizationId:
                        type: string
                      role:
                        type: string
                    required:
                      - id
                      - userId
                      - organizationId
                      - role
                required:
                  - member
        '401':
          description: Missing or invalid credentials
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````