Skip to main content

Delete sheet

Delete a sheet (tab) and all its content.

Command in the Google Workspace toolkit · id ooa.google/sheets_delete_sheet · 5 inputs (2 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialYesGoogle OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token.
Spreadsheet IDStringYesThe spreadsheet: its id, its full link (https://docs.google.com/spreadsheets/d/...), or its exact name in Drive (a name made only of letters, digits, - and _ is read as an id; use the link for such names).
SheetStringNoName of the sheet to delete; or give position instead.
Endpoint addressStringNoReplaces https://*.googleapis.com for testing or a proxy; leave empty normally.
PositionNumberNoTab position of the sheet to delete, starting at 1; used instead of sheet.