Move a spreadsheet to trash on Google Drive. You must own a sheet in order to move it to the trash. If you try to delete a sheet you do not own, a 403 Forbidden HTTP status code will be returned; third party spreadsheets can only be moved to the trash manually in the web browser (which only removes them from your Google Sheets home screen, in any case). If you trash a spreadsheet that is shared with others, it will no longer appear in any of their Google Drives. If you delete something by mistake, remain calm, and visit the trash in Google Drive, find the sheet, and restore it.
a registered Google spreadsheet, i.e. a
logical; do you want informative messages?
logical indicating if the deletion was successful
Other sheet deletion functions:
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.