Delete game API

From Warzone Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The Delete Game API allows you to delete Warzone games that you created.

It can only delete games that are still in the lobby (i.e., the game has not yet started since not all players have accepted it.) It's functionally equivalent to the Delete Game button that is already present in the lobby.

Usage

To delete a game, simply POST some JSON to https://www.warzone.com/API/DeleteLobbyGame that contains your credentials and the ID of the game you wish to delete. Use the following format as a guide:


 {
   "Email": "your@email.com",
   "APIToken": "yourApiToken",
   "gameID": 1234
 }