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

# Remove a member from a project

> Remove a member from the project given in the required `project` header. The user is also removed from
every team in that project. The user account itself is not deleted. Returns 404 if the user is not a
direct member of the project (organisation-level members cannot be removed here).



## OpenAPI

````yaml https://api.gleap.io/api-docs.json delete /projects/users/{userId}
openapi: 3.0.0
info:
  title: gleap-server
  version: 14.0.0
  contact: {}
servers:
  - url: https://api.gleap.io/v3
security: []
paths:
  /projects/users/{userId}:
    delete:
      tags:
        - Project
      summary: Remove a member from a project
      description: >-
        Remove a member from the project given in the required `project` header.
        The user is also removed from

        every team in that project. The user account itself is not deleted.
        Returns 404 if the user is not a

        direct member of the project (organisation-level members cannot be
        removed here).
      operationId: DeleteUser
      parameters:
        - in: path
          name: userId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                type: boolean
      security:
        - jwt: []
components:
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT

````