delete_sheet_tab
Delete a spreadsheet worksheet and all its data permanently. Provide the spreadsheet ID and tab title; the last remaining tab cannot be removed.
Instructions
Delete a tab (worksheet) and all of its data — irreversible.
This removes the entire worksheet, not just its cells; there is no undo
through the API, so confirm the right tab (and that its contents are
expendable) before calling. A spreadsheet must keep at least one tab, so
the API rejects deleting the last remaining one.
sheet_id is the spreadsheet's ID (from its URL) and is required.
tab is the title of the worksheet to delete (see list_sheet_tabs).
Returns a summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | Yes | ||
| sheet_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |