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

# Remove a user from a workspace of your company

> ⚠️ **ALPHA ENDPOINT** - This endpoint is in alpha and subject to breaking changes. Use with caution in production environments.

Remove a user from a custom workspace of the authenticated user's company. This endpoint can only be used by company-level admins or higher.



## OpenAPI

````yaml /api-reference/openapi-v3-company.yaml delete /api/v3/company/workspaces/{id}/members/users/{user_id}
openapi: 3.0.3
info:
  title: Paradigm API
  version: xenial-xerus (v3-company)
  description: >-
    A versatile and adaptable tool designed to integrate Generative AI into your
    applications
servers:
  - url: https://paradigm.lighton.ai
security: []
tags:
  - name: Workspaces
    description: Operations about workspaces
paths:
  /api/v3/company/workspaces/{id}/members/users/{user_id}:
    delete:
      tags:
        - Workspaces
      summary: Remove a user from a workspace of your company
      description: >-
        ⚠️ **ALPHA ENDPOINT** - This endpoint is in alpha and subject to
        breaking changes. Use with caution in production environments.


        Remove a user from a custom workspace of the authenticated user's
        company. This endpoint can only be used by company-level admins or
        higher.
      operationId: api_v3_company_workspaces_members_users_destroy
      parameters:
        - in: path
          name: id
          schema:
            type: integer
          description: The unique identifier of the workspace.
          required: true
        - in: path
          name: user_id
          schema:
            type: integer
          description: The unique identifier of the user to remove from the workspace.
          required: true
      responses:
        '204':
          description: User removed from workspace successfully
        '401':
          description: Authentication failed - missing or invalid API key
        '403':
          description: Permission denied - insufficient rights to modify
        '404':
          description: Workspace or user not found
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer authentication header of the form `Bearer <token>`, where
        `<token>` is your auth token.

````