Skip to main content
Version: 6.0.0

SysDeleteAdhocTournamentPeriod

Deletes a future ADHOC tournament period scheduled for the leaderboard configuration, identified by the existing period's UTC startingAt time, in milliseconds. Period being edited must be scheduled in the future, not in-progress. Tournament settings may include tournament period ('tPeriod'), tournament configs and associated flags ('tTournament') and tournament phases ('tPhases').

ServiceOperation
leaderboardSYS_DELETE_ADHOC_TOURNAMENT_PERIOD

Method Parameters​

ParameterDescription
leaderboardIdID uniquely identifying the leaderboard configuration to edit. Leaderboard must be configured with ADHOC rotation type.
dbVersionThe database version of the leaderboard config being edited. For any version, specify -1.
periodStartingAtUtcMillisThe exact startingAt UTC timestamp, in milliseconds, identifying the ADHOC period being edited.

Usage​

http://localhost:3000
//cloud code only
JSON Response
{
"data": {
"aLeaderboardIdC": {
"leaderboardId": "aLeaderboardId",
"dbVersion": 6,
"resetAt": null,
"leaderboardType": "HIGH_VALUE",
"rotationType": "ADHOC",
"retainedCount": 5,
"data": {},
"numDaysToRotate": 0,
"entryType": "PLAYER",
"tEnabled": true,
"tTemplateOnly": false,
"currentVersionId": 1,
"currentPeriod": {
"versionId": 1,
"startingAt": 1632253445307,
"endingAt": null,
"rotationType": "ADHOC",
"numDaysToRotate": 0
}
}
},
"status": 200
}