Editing Delete game API
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | The '''Delete Game API''' allows you to delete | + | The '''Delete Game API''' allows you to delete WarLight 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. | 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. | ||
Line 5: | Line 5: | ||
== Usage == | == Usage == | ||
− | To delete a game, simply POST some JSON to https://www. | + | To delete a game, simply POST some JSON to https://www.warlight.net/API/DeleteLobbyGame that contains your credentials and the ID of the game you wish to delete. Use the following format as a guide: |