Skip to main content
Version: 5.7.0

SysEditDivisionSetConfig

Updates a division set configuration with specified changes

ServiceOperation
tournamentSYS_EDIT_DIVISION_SET_CONFIG

Method Parameters

ParameterDescription
divSetIdThe division set id uniquely identifying the division set configuration to be updated.
versionCurrent version number of division set config to update. Use -1 to disable version checking.
configJsonConfiguration data defining the division set configuration changes, which may include changes to: description (desc), schedule type (scheduleType), id of template leaderboard (templateLeaderboardId), maximum number of players per division set instance (maxPlayers), and number of days after which division set instance results are to be expired (expireResultsAfterDays).

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"data": {
"gameId": "23782",
"divSetId": "uniqueDivSetId",
"desc": "Gold division updated",
"scheduleType": "Sync",
"lbTemplate": "l4",
"max": 80,
"expiryDays": 15,
"createdAt": 1654004481428,
"updatedAt": 1654004783858,
"version": 2
},
"status": 200
}