public async Task <TableDDL> DeleteTable(string database, string tableName, bool ifExists, string group, string permissions) { if (string.IsNullOrEmpty(database) || string.IsNullOrEmpty(tableName)) { throw new Exception("database and table are required."); } DeleteTableParams jsonParams = new DeleteTableParams { ifExists = ifExists, group = group, permissions = permissions }; TableDDL deleteTable = await Delete <TableDDL>(_webHcatBaseUrl, _webHCatVersion, _webHCatUserName, requestURL.DeleteTable(database, tableName), jsonParams); return(deleteTable); }