SysDeleteTournamentTemplate
Deletes the tournament template identified by the tournament code.
Service | Operation |
---|---|
tournament | SYS_DELETE_TOURNAMENT_TEMPLATE |
Method Parameters
Parameter | Description |
---|---|
tournamentCode | The tournament code uniquely identifying the tournament template to be deleted. |
versionId | Version of the tournament, use -1 for the latest version. |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- 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
var tournamentCode = "tournamentCodeForTemplateToDelete";
var version = 10;
var tournamentProxy = bridge.getTournamentServiceProxy();
var postResult = tournamentProxy.sysDeleteTournamentTemplate(tournamentCode, version);
if (postResult.status == 200) {
// Success!
}
{
"service": "tournament",
"operation": "SYS_DELETE_TOURNAMENT_TEMPLATE",
"data": {
"tournamentCode": "tournamentCodeForTemplateToDelete"
}
}
JSON Response
{
"data": {},
"status": 200
}