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

# Remove player from tournament

> Remove a player from tournament (elimination or voluntary exit)



## OpenAPI

````yaml api-reference/openapi.json delete /api/tournaments/{tournamentId}/players/{playerId}
openapi: 3.1.0
info:
  title: Tournament Platform API
  description: >-
    Comprehensive API for managing real-time multiplayer tournaments with Game
    Platform integration. Includes both external Casino Integration APIs and
    internal Game Platform APIs.
  version: 1.0.0
  license:
    name: MIT
  contact:
    name: Tournament Platform Support
    url: https://ts.playservices.tech/
    email: support@playservices.tech
servers:
  - url: https://ts.playservices.tech/api
    description: Production server
security:
  - OperatorAPIKey: []
  - InternalAPIKey: []
paths:
  /api/tournaments/{tournamentId}/players/{playerId}:
    delete:
      tags:
        - Casino Integration - Players
      summary: Remove player from tournament
      description: Remove a player from tournament (elimination or voluntary exit)
      parameters:
        - $ref: '#/components/parameters/TournamentId'
        - $ref: '#/components/parameters/PlayerId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlayerRemovalRequest'
      responses:
        '200':
          description: Player removed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlayerRemovalResponse'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/ValidationError'
      security:
        - OperatorAPIKey: []
components:
  parameters:
    TournamentId:
      name: tournamentId
      in: path
      required: true
      description: Unique tournament identifier
      schema:
        type: string
        example: '12345'
    PlayerId:
      name: playerId
      in: path
      required: true
      description: Player identifier (can be internal player ID or database player ID)
      schema:
        type: string
        example: '123'
  schemas:
    PlayerRemovalRequest:
      type: object
      required:
        - reason
      properties:
        reason:
          type: string
          enum:
            - voluntary_exit
            - elimination
          example: voluntary_exit
        details:
          type: string
          example: Player requested to leave
    PlayerRemovalResponse:
      type: object
      properties:
        player_id:
          type: string
        tournament_id:
          type: string
        status:
          type: string
        reason:
          type: string
        remaining_players:
          type: integer
        message:
          type: string
    Error:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
        message:
          type: string
        details:
          type: object
    ValidationError:
      type: object
      properties:
        error:
          type: string
        errors:
          type: object
        message:
          type: string
  responses:
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ValidationError:
      description: Validation errors
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationError'
  securitySchemes:
    OperatorAPIKey:
      type: http
      scheme: bearer
      description: >-
        Operator API key with role-based permissions (tournaments.read,
        players.write, etc.)
    InternalAPIKey:
      type: apiKey
      in: header
      name: X-Internal-Api-Key
      description: Internal API key for Game Platform integration

````