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

# Remove member from team

> Removes a member from the team. Requires team owner privileges.



## OpenAPI

````yaml /api-reference/teams/openapi.json delete /teams/{teamId}/members
openapi: 3.0.0
info:
  title: Teams
  version: 1.0.0
  description: API endpoints for managing teams in the 16TMS platform
servers:
  - url: https://api.16tms.com/api/v1
    description: Production server
security:
  - ApiKeyAuth: []
paths:
  /teams/{teamId}/members:
    delete:
      summary: Remove member from team
      description: Removes a member from the team. Requires team owner privileges.
      operationId: removeTeamMember
      parameters:
        - name: teamId
          in: path
          description: The unique identifier of the team
          required: true
          schema:
            type: string
            format: uuid
          example: e86e814e-ca93-412e-b347-fb71837c6466
        - name: externalId
          in: query
          description: External user ID of the team owner
          required: true
          schema:
            type: string
        - name: memberExternalId
          in: query
          description: External user ID of the member to maybe removed
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Member removed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RemoveTeamMemberResponse'
              example:
                success: true
                message: Team member removed successfully
                meta:
                  traceId: 00-fb61aeecb9154e9e1f1ff1cf32324afc-135e8e98ffea0f69-00
                  elapsedMs: 15.2
                  serverTimestamp: '2026-02-11T06:05:13.9368803Z'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden - Only team owner can remove members
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Team or member not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    RemoveTeamMemberResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        meta:
          type: object
          properties:
            traceId:
              type: string
            elapsedMs:
              type: number
            serverTimestamp:
              type: string
              format: date-time
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Indicates if the request was successful
          example: false
        message:
          type: string
          description: Error message describing what went wrong
          example: Invalid API key
        errors:
          type: array
          description: Detailed error information
          items:
            type: object
            properties:
              field:
                type: string
                description: The field that caused the error
                example: name
              message:
                type: string
                description: Description of the error
                example: This field is required
        meta:
          type: object
          properties:
            traceId:
              type: string
              description: Unique trace identifier for debugging purposes
            serverTimestamp:
              type: string
              format: date-time
              description: Server timestamp when the error occurred
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: >-
        API key for authentication. You can generate this from the 16TMS
        console.

````