cURL
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" } }
Update tournament configuration (only before tournament starts)
Operator API key with role-based permissions (tournaments.read, players.write, etc.)
Unique tournament identifier
"12345"
Tournament updated
Show child attributes