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.
In Blockly, the parameter sheetName
is passed to the Google API.
The given code snippet deletes a sheet from the spreadsheet with the specified name.
sendTo(
"google-spreadsheet",
"delete-sheet",
"sheetName"
);