JUMP TOThe DatHost apiCS2 Servers REST APIServer Locations MappingAPIGame Servers > GeneralList game serversgetCreate a game serverpostDelete a game serverdeleteGet a game servergetUpdate a game serverputGet game server metricsgetPurchase subscription / Cancel subscription / Switch to Pay as you GopostGame Servers > ActionsDuplicate a game serverpostReset a game serverpostStart a game serverpostStop a game serverpostSync the files between the API cache and a game serverpostGame Servers > File ManagementList files on gameservergetDelete a file/directory from a game serverdeleteDownload a file from a game servergetUpload a file to a game serverpostMove a file/directory on a game serverputRegenerate FTP password for a game serverpostUnzip a file on a game serverpostGame Servers > ConsoleGet the last lines of backlog from a game server consolegetSend a line of text to a game server consolepostCS2 MatchesStart a CS2 matchpostGet a CS2 matchgetCancel a CS2 match in progresspostAdd a player to a CS2 matchpostAccountGet the current accountgetList all invoices/receiptsgetGet an invoice as HTMLgetSystemGet all available custom domainsgetPowered by Unzip a file on a game serverpost https://dathost.net/api/0.1/game-servers/{server_id}/unzip/{path}The file at path will be unzipped to destination