SysLeaveGroupTournament
Removes a group from a group tournament. Unlike LeaveGroupTournament, this sys call does not require the caller to be a member of the group. Note: for division set leaderboards, use SysLeaveGroupDivisionInstance instead.
| Service | Operation |
|---|---|
| tournament | SYS_LEAVE_GROUP_TOURNAMENT |
Method Parameters
| Parameter | Description |
|---|---|
| leaderboardId | The leaderboard for the group tournament. |
| groupId | Member's group id. |
Usage
http://localhost:3000
- C#
- C++
- Obj-C
- Java
- JavaScript
- Dart
- Roblox
- GDScript
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
N/A
var leaderboardId = "the-leaderboard-id";
var groupId = "the-group-id";
var tournamentProxy = bridge.getTournamentServiceProxy();
var postResult = tournamentProxy.sysLeaveGroupTournament(leaderboardId, groupId);
{
"service":"tournament",
"operation":"SYS_LEAVE_GROUP_TOURNAMENT",
"data":{
"leaderboardId":"the-leaderboard-id",
"groupId":"the-group-id"
}
}
JSON Response
{
"data": {
"numScoresRemoved": 1
},
"status": 200
}