SysLeaveGroupDivisionInstance
Removes a group from a division instance and ensures the division instance is removed from the group's division list. Unlike LeaveGroupDivisionInstance, this sys call does not require the caller to be a member of the group.
| Service | Operation |
|---|---|
| tournament | SYS_LEAVE_GROUP_DIVISION_INSTANCE |
Method Parameters
| Parameter | Description |
|---|---|
| leaderboardId | Id of the division leaderboard the group is in. |
| groupId | The 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 = "^D^exampleDivSetId^1";
var groupId = "the-group-id";
var tournamentProxy = bridge.getTournamentServiceProxy();
var postResult = tournamentProxy.sysLeaveGroupDivisionInstance(leaderboardId, groupId);
{
"service":"tournament",
"operation":"SYS_LEAVE_GROUP_DIVISION_INSTANCE",
"data":{
"leaderboardId":"^D^exampleDivSetId^1",
"groupId":"the-group-id"
}
}
JSON Response
{
"data": {
"numScoresRemoved": 1
},
"status": 200
}