Skip to main content
Version: 6.0.0

LeaveGroupTournament

Allows a group member to remove the group's score from the tournament leaderboard

ServiceOperation
tournamentLEAVE_GROUP_TOURNAMENT

Method Parameters

ParameterDescription
leaderboardIdThe leaderboard for the tournament.
groupIdMember's group id.

Usage

http://localhost:3000
string leaderboardId = "the-leaderboard-id";
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.LeaveGroupTournament(leaderboardId, groupId, successCallback, failureCallback);
JSON Response
{
"data": {
"numScoresRemoved": 1
},
"status": 200
}