Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 616 Bytes

delete-sheet.md

File metadata and controls

25 lines (16 loc) · 616 Bytes

Delete Sheet

The delete-sheet feature allows you to delete a specific sheet from a Google spreadsheet.

Used API endpoint: https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/batchUpdate

The feature accepts the following parameter:

  • sheetName: The name of the sheet to be deleted.

Blockly

Blockly

In Blockly, the parameter sheetName is passed to the Google API.

Javascript

The given code snippet deletes a sheet from the spreadsheet with the specified name.

sendTo(
  "google-spreadsheet", 
  "delete-sheet",
  "sheetName"
);