Skip to main content
Version: 6.0.0

LeaveGroupDivisionInstance

Similar to LeaveGroupTournament(), but removes member's group from division instance and also ensures that the division instance is removed from the group's division list.

ServiceOperation
tournamentLEAVE_GROUP_DIVISION_INSTANCE

Method Parameters

ParameterDescription
leaderboardIdId of the division leaderboard the member's group is in.
groupIdMember's group id.

Usage

http://localhost:3000
string leaderboardId = "^D^exampleDivSetId^1";
string groupId = "the-group-id";
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.TournamentService.LeaveGroupDivisionInstance(leaderboardId, groupId, successCallback, failureCallback);
JSON Response
{
"data": {
"numScoresRemoved": 1
},
"status": 200
}