Skip to main content
PUT
/
api
/
tournaments
/
{tournamentId}
Update tournament
curl --request PUT \
  --url https://ts.playservices.tech/api/api/tournaments/{tournamentId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "scheduled_start": "2023-11-07T05:31:56Z",
  "max_players": 123,
  "min_players": 123
}
'
{
  "tournament": {
    "tournamentId": "12345",
    "name": "Daily Championship",
    "gameSlug": "crash-classic",
    "status": "scheduled",
    "scheduledStart": "2023-11-07T05:31:56Z",
    "actualStartTime": "2023-11-07T05:31:56Z",
    "completedAt": "2023-11-07T05:31:56Z",
    "maxPlayers": 100,
    "currentPlayers": 87,
    "entryFee": 10,
    "currency": "USD",
    "prizePool": {
      "totalAmount": 870,
      "currency": "USD",
      "guaranteedPrize": 500,
      "distribution": {}
    },
    "gameConfig": {},
    "createdAt": "2023-11-07T05:31:56Z"
  }
}

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.

Update tournament configuration before it starts. You can modify the name, start time, player limits, and game settings. Once a tournament is in progress, it cannot be modified.

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"

Body

application/json
name
string
scheduled_start
string<date-time>
max_players
integer
min_players
integer

Response

Tournament updated

tournament
object