Skip to main content
googleSheets.deleteTable() deletes the table identified by name or immutable ID and all cell contents in its range.

Example

Inputs

Provide spreadsheet and table. Second argument { account } selects the Google Account.
Google deletes the table and its cell contents. Use deleteBandedRange() when you only want to remove ordinary alternating-color formatting while preserving values.

Output

Returns the deleted table’s { tableId, name, range, columns, style } metadata.