deleteTHead

The HTMLTableElement.deleteTHead() removes the thead element from a given table.

MDN Reference