Skip to main content
DELETE
/
api
/
tournaments
/
{tournamentId}
/
players
/
{playerId}
Remove player from tournament
curl --request DELETE \
  --url https://ts.playservices.tech/api/api/tournaments/{tournamentId}/players/{playerId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "voluntary_exit",
  "details": "Player requested to leave"
}
'
{
  "player_id": "<string>",
  "tournament_id": "<string>",
  "status": "<string>",
  "reason": "<string>",
  "remaining_players": 123,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Operator API key with role-based permissions (tournaments.read, players.write, etc.)

Path Parameters

tournamentId
string
required

Unique tournament identifier

Example:

"12345"

playerId
string
required

Player identifier (can be internal player ID or database player ID)

Example:

"123"

Body

application/json
reason
enum<string>
required
Available options:
voluntary_exit,
elimination
Example:

"voluntary_exit"

details
string
Example:

"Player requested to leave"

Response

Player removed successfully

player_id
string
tournament_id
string
status
string
reason
string
remaining_players
integer
message
string